Add templates_path parameter to build_package, to allow overriding of built-in templates

This lets us use multiple templates for a package, depending on where the docs are going.