gravity: Add handling stubs for split out QueryEscaper class.