Added JSONP support to the MetricsServlet.

Users can now provide an extra "callback" parameter to the servlet.
Doing so causes the servlet to emit the response in JSONP format.