Output REST api metrics stats 


This PR adds a new RestServer that launches the REST API. It also exposes the metrics collected via the Stats System  at http://hostname:portnum/vars or http://hostname:portnum/vars.json . These metrics can be collected from a plugin to be fed into to any metric collection system