HPCC-8556 Refactor const char * query functions from helpers

Removed some unusued methods from context.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>