add Document, DocumentTree, Path and related classes
fix minor typo in scaladoc