Add metrics timer tests and some refactoring.
Switch statsd clients.
Rename function substitutes.
Change semantics of read delay metrics.