BUG: np.ma.compress treated inputs in wrong order; closes #2495
BUG: add __len__ method to ma.mvoid; closes #576
Merge pull request #3452 from efiring/ma_backport_1.7.x

Backport 216d8cb and c2465b6 to 1.7.x