Extract more metadata using pdfinfo

WIP, still testing this. Addresses #76. There will probably be a merge conflict with #84.