Move static methods from URIImpl to URIs.

Change-Id: Iabf2295dc017a5b919bd00b63358006e909a7f08