Metrics work

Add metrics instance variable to Manifest
Gather and publish cgroups metrics
Add metrics to ApplicationContainer
Make metrics plugin delay configurable
Metrics work

Working on ApplicationContainer metrics
Add metrics commands to oo-admin-ctl-gears
Metrics

Correct typos.

Reduce construction of huge strings where possible.

Remove code that added a "metric prefix" to output as that is not
correct.

Corrected bugs that prevented cart pull metrics from working.

Use BufferedLineParser to process output from cart and app metrics.

Simplify cgroups parsing and publishing logic.

Add sample metrics script to the mock and mock-plugin carts.

Rename MetricPlugin to MetricsPlugin.

Add pull metrics timeouts.

Batch cgroups data output.

Make metric metadata customizable.

Require explicit enabling of metrics plugin for it to run.

Allow user to specify cgroups metrics.

Add quota metrics.

Add unit and functional tests.
Metrics - code review changes

Enforce a minimum watchman metrics interval of 10s.

Modify metrics/metricsall in oo-admin-ctl-gears to follow same
conventions as other methods so it ignores idle and stopped gears.

Explicitly disallow OPENSHIFT_SECRET_TOKEN from being used as metrics
metadata.

Include metrics_func_test.rb in gear func test group 3.
Merge pull request #5200 from ncdc/metrics

Merged by openshift-bot