Fixes #672.  Long ints are not handled correctly in Unit constructors.
Merge pull request #672 from mdboom/unit/long_int_handling

Unit conversion on quantities mishandles long values