BUG: fix np.median so it accepts array_like input.  Clean up median tests.
Merge pull request #3630 from rgommers/fix-median

BUG: fix np.median so it accepts array_like input.  Clean up median test...