fixed failing to set the allowedMenuActions; exposed PSPDFDocument's renderAnnotationTypes;