[4715] Converted on jinja2 templates.

https://gist.github.com/8r2y5/84babc1ffb2c162df4cf - pylint & nosetest
https://bugzilla.stxnext.pl/show_bug.cgi?id=4715