Move static methods from URIImpl to URIs.

Change-Id: I7865d35247db6263cca1b6bf675ecc7b864636eb