Ensure that quantity operations with incompatible types give a useful TypeError
Support numpy 1.9, adapting Quantity.__eq__, __ne__