Couple of minor changes.

1) I'm using memcache as a bytecode cache for jinja2 templates
2) A jinja environment is instantiated once at app startup and passed to the handlers