Add search query compiler

Also update test suite and parser
Rename queryparser to querycompiler
Expose query search in the API
Remove excess logging
Add frontend support for new search