Update _scriptcraft.js to include unload Handlers

unload Handlers will be called just before the plugin is unloaded.  This will allow cleanup of event handlers and threads before all references are lost during a reload.