Add a Uri() function that exposes the document's base uri

Exposing this information allows for resolving paths relative to the document.