Add missing method for Java 1.7
Switch to Dropwizard metrics 3.1.0

Fixes gh-1775