remove inappropriate 'pdf' key

in favor of 'application/pdf'
bibtext typo
fix file extension when extracting PDF figures
add pdf to extract output tests
add pdf output to test notebook
fix check for non-attr output keys