migrating source to Python 2.7

change webapp to webapp2, replace webapp.templates with Jinja2