Add support for using jinja2's PackageLoader

Follows the same approach for switching between file-system and package loaders as used by werkzeug's wsgi.SharedDataMiddleware. That is, a string is assumed to be in the file system, and a tuple with length 2 is assumed to provide the (1) package name and (2) the template folder name in the package.