added HasWorker config to control AggregateStats

Fixes #907 

This change makes the execution of the AggregateStats job configurable. Default is now OFF. (This is in configuration as HasWorker = true)

The deployment of this code should be coupled with adding that job to the worker role. So they should both be deployed together.