DOC: clarify matrix.ravel docstring and add tests

I had a difficult time tracking down exactly which code was being called by `m.ravel()` but I think this is right.
For some reason, no.  I'd thought so originally, hence my comment at the beginning of this PR about having trouble tracking things down.