BUG: MaskedArray ignores __array_priority__

fixes: #5227 

This patch partially fixes the issue (I only covered addition, subtraction and multiplication).  If you agree that this is the right approach - I will add remaining operations.
The explanation of this argument means nothing to me.