Move static methods from URIImpl to URIs.

Change-Id: Ie010976b5478e30ef1e375d162149b783fade9c3