Query string building more standardized
Query string building more standardized

* separately urlencoding argument name and argument value
* no used sprintf for strings concatenation

lhotski/php-ActiveResource,CDyWeb/php-ActiveResource