Add metrics to analyse performance of the task runners

Add some metrics so that it is possible to see what is going during deploy time.  Most significantly, we can see the real number of running tasks and also see how much latency there is between a task being queued and started.

This addresses much of issue #113