Templates from 4xx/500 had hardcoded extension ".jinja"

DEFAULT_JINJA2_TEMPLATE_EXTENSION allow to change the default extension from templates,
the errors views should follow this behavior.