CLC-2679 Make HotPlate use message-based warmup code; fix cache_store init code

https://jira.media.berkeley.edu/jira/browse/CLC-2679

StatAccumulator introduced to reduce code duplication and provide a thread-safe way to write shared statistics. 

Cache_store init code didn't work properly when a developer wanted memcached as the cache store. This fixes that.