Fixed instrumentation

The instrument function for instrumenting a ring server was broken.  It was throwing a ClassCastException, presumably because the signatures for the metric functions had changed.  The default registry is also no longer accessible, so the metric registry is now passed into the instrument function.
Never update version numbers in a pull request. It's up to the maintainer to update them.