Properly require CGI
CGI escape key and value
Add unit test coverage to Artifactory::Client#to_query_string