Evaluate jinja2 template files in strict mode.

This will need to be changed to be made optional before
merging upstream, to maintain backward compatibility by
default.

Currently, the jinja2 override header feature does not work
for strict mode, when specified with "#jinja2: undefined: StrictUndefined",
as jinja expects a callable, while this feature treats it as a string.