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.