Added multicraft shutdown support

Added the option for the server to shut down completely and not restart as it otherwise would have done if run under multicraft.