Timer now uses Clock instead of Stopwatch to enable easier testing.

Review: https://reviews.apache.org/r/20918