Added Statistics support for Metrics.

Review: https://reviews.apache.org/r/20018
Added a Timer Metric type.

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