Utility for converting a hash map to a URL parameter string.

http://stackoverflow.com/questions/2809877/how-to-convert-map-to-url-query-string

Allows for both HashMaps / Strings to be encoded as UTF-8 string
parameters