Add config parameter to preserve script closures

This commit will keep mars-game working when the event-handler replication branch is merged to development (but keeps us from taking advantage of event handler replication).  We will eventually need to eliminate our use of closure variables in methods and event handlers so that we can remove this config parameter and take advantage of event handler replication.
Merge pull request #469 from virtual-world-framework/preserve-script-closures

Add config parameter to preserve script closures
Add boolean function metadata
Start adding action metadata
Finished action defs and cleaned up actionFactory.js
Removed unnecessary line breaks
Added argument type list for reference
Moved arg types
Modify new scenario & customize add button
Updated styles
Updated HTML and styles
Modified isAtPosition condition
Updated metadata & started adding condition ui
Added action metadata to triggerObjects.js

Conflicts:
	source/triggers/actionDefs.yaml
	source/triggers/conditionDefs.yaml
Moved arg type comment
Fixed triggerObjects.js and refactored
Iteration on trigger dialog
Refactored add condition and repeated arguments
Allow nested "and, or, not" & add remove repeated arg
Remove action button