Stop Jetty properly

Added an system shotdown hook.