Rework StatCounters, flush reporter queues on shutdown, a few bugs
* Stat counters are now more precise and require less scheduling. Also, a one minute stat counter is the new default since second precision is usually not needed at all
* Fixed a few startup race condition bugs, along with a divide by zero stat calc
* Added proper flushing of aggregated stats and reporter queues on shutdown request

Almost ready for RC testing