Handle trailing decimal points.

This is from the internal PCTLIBRARY-1263 issue.
Add some tests for Trnaslator#parseNumber
Merge pull request #836 from janhancic/develop-fix-translator

Fix Translator#parseNumber & add tests