configurable caching in console.js

in console.js the caching that is used for counters and timers sometimes creates a confusion during the development. I also faced an issue where the timers occupied a lot of memory and statsd eventually crashed. This commit now has a configurable caching in console.js. By default caching for counters in enabled while I disable timers caching.