Fix config error for MetricsServlet

Should use setInitParameter() instead of setAttribute() to configure com.codahale.metrics.servlets.MetricsServlet. Otherwise, the rate unit and the duration unit will not be set as written in the XML configure file.