Add support for sampling timers

This change addresses #139

It maintains a separate counter for each timer metric counting the "true" number of events, and adds a "count_ps" (i.e. count-per-second) metric which is the equivalent of a regular counter metric (whereas timer counts have historically not been per-second; this diff maintains this behaviour for stats.timers.foo.count for backwards compatibility).