Changed templates to jinja2
Merge pull request #4 from przemekmazurek/BUG_3897

Changed templates to jinja2.