Fix issue where, if using routing-filter, taxon autocomplete would break

Fixes #2248

This is due to the URL provided by spree.admin_search_taxons_url returning something like http://localhost:3000/admin/taxons?locale=en and then the code was appending '?ids=1' to the end of this, which is obviously an incorrect URL.

This new solution is more bulletproof.
Fixes #2788 allowing use of config.threadsafe!

Fixes #2852