Make percentage units work like a unitless scalar.

 - A side effect of this enhancement is divmod now also works
   correctly with the same unit support as regular division.