Revert "remove the gard in anyconfig.template which makes difficult tests if jinja2 is not available, and related a few changes"
Revert "remove the gard in anyconfig.template which makes difficult tests if jinja2 is not available, and related a few changes"

This reverts commit 528459234f4233b3174764e5925b4de2971b4263.

ssato/python-anyconfig,pmquang/python-anyconfig,ssato/python-anyconfig,pmquang/python-anyconfig