Prompt user when exiting would lose unsaved changes.

This adds an "unsavedChanges" BoolPlug to the ScriptNode which tracks whether or not there are unsaved changes in the script. The UI uses this to prompt the user for confirmation if they close a window with unsaved changes, or if they quit while there are unsaved changes.

This fixes issue #19.