Tag-based scripting

Tag-based scripting is a paradigm for supporting custom items that does not require editing module event scripts for each item. When this system is enabled, the relevant module events execute a script whose name is the item's tag (plus a prefix, if one was stored in the local string "MODULE_VAR_TAGBASED_SCRIPT_PREFIX" on the module).