Move static methods from URIImpl to URIs.

Change-Id: Idd5934d5918c5efac112b145a424df9e7e8b18ce