introduce explicit Title node into document tree
fix PathInfo factory method
refine handling of tree and document titles in table of contents for
PDFs