- modules: replace MODULE_FLAG_CORE and MODULE_FLAG_NOUNLOAD with dedicated variables; fixed the ircd from crashing in case reloading a module fails