Move static methods from URIImpl to URIs.

Change-Id: Ide05d409a74847f4441815ce5fb172ed4743c4c1