Add support for using jinja2's PackageLoader; follow the same approach for switching between file-system and package loaders as used by werkzeug's wsgi.SharedDataMiddleware.