Fix unit detection for negative values

Change the unit detection regular expression to properly recognize negative and plus-prefixed values such as -100% and +100%
Add test for negative values
Merge pull request #48 from MartinodF/bug/negative-values

Fix unit detection for negative values