Modified url_with_params to reject empty values.

So if you call `url_with_params('/home', id: 2, sort: '')` you'll get
"/home?id=2" instead of "/home?id=2&sort" as you would have before.