Adding some unit tests for measurement, number, and uri parsers. Fixing a
couple bugs uncovered in the number parser. Coverage has changed due to
the bug fixes and removal of some crappy code.