Upgraded PDF support

Adds support for PDF metadata, thumbnails, and navigation.