Move static methods from URIImpl to URIs.

Change-Id: I5fb2bfba5a3d7770f2617c7fc436141d8c067081