Merge branch 'core-cleanup' into core
cherry-picked from master branch: added LICENCE
cherry-picked from master branch: Fixed stupid copy-paste typo
cherry-picked from master branch: added file head comments

Conflicts:
	src/module/types/templater.h

Conflict file was removed by this branch. Removed it from commit.
sorted list of functions alphabetically
the loader does not have to know the rules file
Added hash-checker function

The cacher module has to cache data. But it also has to calculate hash sums for
data nodes. Therefor it has to provide a checker function if a file (identified
by its path) has a specific hashsum.

Added hashsum function pointer to loader module, as this module has to check the
hashsums.
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