Enable jinja2 loopcontrols extension

from here: http://jinja.pocoo.org/docs/extensions/#loop-controls