added support extensions for jinja2

http://jinja.pocoo.org/docs/extensions/#extensions