[events] Added rudimentary event hook exception handling.
[modules] Loading/unloading modules now causes them to be added to the configuration.
[modules/core] Fixed erroneous enable command pattern, added loaded command, added getraw command.