ydhlib_AddParamsInUrl

add params in to url.
addParamsInUrl("helloworld.php", {foo1:bar1, foo2:bar2}) will return helloworld.php?foo1=bar1&foo2=bar2

if params has exist in url，new param will replace old
addParamsInUrl("helloworld.php?foo1=bar1", {foo1:bar2, foo2:bar2}) will return helloworld.php?foo1=bar2&foo2=bar2

if url is null, ""; will return querystring like:
addParamsInUrl("", {foo1:bar2, foo2:bar2}) will return foo1=bar2&foo2=bar2

if params is null, "", {}; will return the url:
addParamsInUrl("helloworld.php", "") will return helloworld.php

if params is not object, will append to url and return:
addParamsInUrl("hello", "world") will return hello?world