metrics: verify if an app has metrics enabled.

related to #154.
metrics: implemented Cpu method.

relate to #154.
metrics: get cpu metrics from graphite.

related to #154.