Fts queries

Add full-text query search to the REST API. This is a first step towards the ability to search queries from the website based on their query string.