Make URITemplateParser package-private

There is no reason for it to "leak" outside the current package.
URITemplateParser: avoid NumberFormatException when parsing overly large numbers

NumberFormatException is unchecked. We don't want that.