Enable PDF viewer on file:// schemes

Note: PDF viewer is disabled for the file:// + incognito
combination, because it's currently impossible to get the combination
to work.

See https://github.com/mozilla/pdf.js/pull/3017#issuecomment-15693432
Hide XHTML error for PDFs

Hides the flashing <parsererror> attribute for PDFs.