add tests for access to DocumentContext when rewriting trees
add method Path.relativeTo(Path)
add tests and fixes for cross references
fix document numbering and improve SectionInfo pretty-print
remove duplicate test and rename DocumentTreeAPISpec
avoid duplicate id handling in Section and Header