Further refactoring of plugin template files for coding standards and to add pylint and pep8 make checks.