various best practices fixes & add filecontent var in templates registry content
Merge branch 'master' of https://github.com/capensis/canopsis-webcore