Added support for geojson format to REST server, added some simple admin
calls to REST server (health check and shutdown) and some more resource
cleanup.