pyramid_jinja2>=2.0.0 support, fixes #37