Replaces rawurlencode with PHP 5.4 http_build_query

5.4 required to use enc_type argument. enc_type set to PHP_QUERY_RFC3986
CS fix
Updates docblock