Added new constructors to HealthCheckServlet and MetricsServlet

Making it possible to assign registries via constructor rather than via
ServletConfig.
Useful for programmatic embedding and test scenarios.