Metrics revamp and bugfixes

* Profiler is now always available as a proxy so no need to keep checking if it exists.
* Tracks and reports time for torque queries, using chronograph module
* Stats client now lives in its own file
* Increments counters and track timers only for supported formats