Support a whitelisted subset of jinja2 template options

These were removed in 1.6.6 for security reasons- this adds back support for a few convenience options that can't change how Jinja decides which strings to treat as code.