Add a Uri() function that exposes the document's base uri for relative path resolution
Issue 55 changes to make xml package work on OS X 10.9