major improvements to the scripting subsystem, including
* facility for switching scripting language on the fly
* store/retrieve scripting language to/from project files
* Python support
also introduces a registry for custom event IDs (see customEvents.h)