Add httpQueryString method

This outputs the array contents as a URL encoded string for use as GET
or POST query strings.