MetricsServlet.ContextListener doesn't initialize the context correctly

MetricsServlet.ContextListener did not override the contexts initParameters for durationUnits, rateUnits, or allowedOrigin. Wrote tests to confirm.