BUG: np.ma.compress treated inputs in wrong order; closes #2495

The solution here is to add a kwarg to the _frommethod initializer so that the first two input arguments to the __call__() method are optionally swapped.

A test is included.