Add metric parsing

New Metric and MetricType types with basic support for counters, timings
and gauges.
Add MIT-LICENSE