up the metrics version to current (2.2.0) and added junit test of HConnectionManager with MetricsRegistry