Use query parser to detect and replace case filter in queries
Created by: attfarhan
This PR makes use of the new frontend query parser to detect and replace the case
filter in queries. Currently a query "case:yes"
in regexp mode would fail, because we replace case:yes
regardless of whether it is quoted or not, since can't determine whether the value is quoted or not. With the query parser, we will only replace it if we verify that it is a filter value and not quoted.