Conditionally use a Jinja syntax file instead of Django

Search for a Jinja syntax file if Pathogen is installed, and fall back to use
the Django template syntax otherwise. Also provides a documented global
variable to force using either.