Fix #2173: axis keyword in median_absolute_deviation.

The axis keyword in median_absolute_deviation is now taken into
account for any axis, and the data properly broadcasted.  The
corresponding unit test is updated.