Add MetricsServlet for Spark metrics system

This patch adds  metrics servlet for spark's jetty server, users can get metrics snapshot using http request to master, work and client driver, a json format of metrics data will be returned.