Typeahead component needs to urlencode query params

This doesn't fix a current issue. It's just added in anticipation of it becoming
a problem down the road. Query params in the Components.DbSearchTypeahead component
should be url escaped.

Closes COUCHDB-2456