Added CompoundMetric class.

Signed off by: Heitor Reis <marcheing@gmail.com>
Merge pull request #8 from mezuro/compound_metric

Added CompoundMetric class.