Added support for equivalencies in Quantity unit conversion

At the moment, equivalencies cannot be used when converting quantities (unless I missed something). This PR fixes this.