compute: commands process basic query instead of just pattern
Created by: rvantonder
Semantics-preserving, this just changes some function signatures for parsing commands. Previously we looked at the pattern, but now we need to take into account whether it is case sensitive (so we need to look at the case
parameter).
This is just setup for a fix up the stack.