Some changes to module loader
@olee let it be known that EventHandler annot only works for classes with Mod annot.
This commit adds a server preinit/server stopped event to FE, and moves the registerCommand function to FunctionHelper so it can be used at any time.