Simplify search url construction logic by using `url-hexify-string`.

Great little package!

I'm going to issue another pull request that would add more support for lucky searches, but I figured I'd put some cleanup in a separate pull request.