Add 'document_root' argument to control where partial templates are
looked for

In the future, we need to wrap this kind of state up in a
context (either an enclosing class, or a single object passed through
the template call stack).