Fixed errors pointed in last review
Merge pull request #4 from artpard/bug_2155

App uses now jinja2 to render templates and links use url_for
Fixed conflicts