Adding plugin to record aggregate metrics.
Fixing syntax errors and exit code.
Changing verbose to debug.
Removing extraneous flags.
Ignoring case indentation.
Merge pull request #299 from nstielau/aggregate_metrics

Aggregate metrics