Support numpy 1.9, adapting Quantity.__eq__, __ne__