PDFBOX-2206: get document catalog to prevent "Cannot save a document which has been closed" exception

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1610721 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-2209: restore some public API for Apache FOP

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1610724 13f79535-47bb-0310-9956-ffa450edef68