Allow the metrics registry to be passed into the DefaultRexsterApplication.