Fix #1005: Don't allow strings as values in quantities
Merge pull request #1005 from mdboom/unit/disallow-string-quantities

Quantity behavior strange with strings as values