query: case has effect in nested expressions (#1022)
Previously only the "top-level" "case:" affected the query. So if you
had a "case" in any sub expression it would have no effect. This adjusts
our implementation to track nested cases in our query parser and allow
them to affect the final case sensitivity on query.Qs.
Test Plan: added more test cases to demonstrate the problem. These
failed before this commit.