Use extension argument of list_templates.

- Setting filter to only include .html and .jinja.
- Caveat: https://github.com/mitsuhiko/jinja2/issues/306