Move static methods from URIImpl to URIs.

Change-Id: Ifdc6a97a3df4a01f32d815c6a162d6dee0198804