Changed jinja2 templates  to mako
improving code style
Merge pull request #6 from jakubjanuzik/bug_1865

[1865] Changing Jinja2 templates to mako