HPCC-8828 Add new metrics to Roxie

Some changes in response to code review. Use accessor functions rather than
global variables.

Also looked a little closer at which metrics it is sensible to reset.

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