Move static methods from URIImpl to URIs.

Change-Id: I06c5699dc5a9b161b1e97ef2aec21f5e105fc787