Adding in support for template licensing to modules/module.templates.php