Move static methods from URIImpl to URIs.

Change-Id: Ifb7b1a0ba074c5ebbf8c6fb0f21541082cf9085f