Upgrade metrics-core to version 2.2.0
patch by jbellis for CASSANDRA-5947
merge from 1.2