search: pass in type to queryToZoektQuery
Created by: keegancsmith
Previously we passed in a boolean for symbol or not. Instead we pass in the enum of search types we do against Zoekt. This will allow us to change the query if we are only interested in filenames.
We also add a test case for symbol queries.