Improve the doctests for matrix/matrix0.pyx.
Apply attachment: trac_12585_matrix0_doc-ht.patch and attachment: trac_12585-review.patch.
CC: @hughrthomas
Component: doctest coverage
Author: Hugh Thomas
Reviewer: David Loeffler, Karl-Dieter Crisman
Merged: sage-5.0.beta8
Issue created by migration from https://trac.sagemath.org/ticket/12585