Ensure that quantity operations with incompatible types give a useful TypeError
Merge pull request #2934 from mhvk/quantity-non-number-operations

Ensure that quantity operations with incompatible types give a useful TypeError