Move static methods from URIImpl to URIs.

Change-Id: I7516a56a53ecd11af9378463e3c5ef1dcc44d32f