Introduce exometer metrics into 2.0

This PR is an adaptation of PR #1006 ("Use exometer metrics"), which was relative to the 'develop' branch.

The current PR is relative to the 2.0 branch. Note that rebar.config is not affected.