Refine MetricsContainer and MetricsCollection interfaces.

* Gets rid of MetricsContainer
* Makes IMetric the common interface.

This will enable statsd and common metric ingestion handlers to share the same AsyncFunction processors (batch splitting and writing).