src/modulemgr/: Added loadModuleChecks_inline.h containing commonly used checks in loadModule() functions. The check functions introduced there should be used in loadModule() functions.
src/modulemgr/modulemgr.c: Preparations for the use of _check functions().
Merge origin/modulemgr_updated into modulemgr_updated