HPCC-12391 Refactor activity timers to track start/end time too

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
These migh be useful for @jakesmith when he does more work on the thor stats.