Simplified caching of template context processors.
Removed usage of a global variable.
Simplified caching of the default exception reporter filter.

Also simplified the logic under the assumption that a false-ish object
won't have an exception_reporter_filter attribute.
Simplified caching of supported languages.