Added a test for MetricRegistry#getNames().
Added the ability to register batches of metrics.
Added some javadocs to MetricRegistry.
Generalize to a MetricSet.
Added tests and docs for JmxAttributeGauge.

Closes #337.
Fleshed out BufferPoolMetricSet.

Closes #346.