Added URI related stuff to Utils

Move formatted_uri to Utils
Add build_query to Utils
Add build_query to formatted_uri