Correctly quote queries so that users don't have to

This solves the quoted query problem where users would have to escape and quote their search text as though running it on the command-line.