Support bring-your-own MetricsRegistry in Bootstrap.

Bootstrap takes the newly constructed registry and registers a few JVM metrics. The way this is done makes it difficult to bring your own registry (say, if you are embedding a DW app within another app).

This PR uses the registry getter in the constructor to add those JVM metrics.