Move static methods from URIImpl to URIs.

Change-Id: I45e71f9808cd11e8e04ef006c0bf65ef51853690