style fixes (whitespace)
fixed macro confusion

Include macro for error reporting function adapted to what it gets included in.
When including in module, the __THESSC_MODULE__ and __MODULE_NAME__ macros have
to be defined for better error message printing. When including in kernel, the
name is predefined.
print macro fixed for including in kernel/modules
Merge branch 'core-cleanup' into core
started to rewrite loader functionality as program structure has changed a bit
use macros for function names
Fixed for change to macros as function names
added missing malloc() call
removed module_chain files
fixed member name
Module type is only for the kernel. Some functions need to be stored directly in the Module type
removed duplicated Module type
include module header
added static set_module_helpers() function
fixed for module type
removed core/module.h header as it is obsolete
Merge branch 'module_loader' into core