Marks some private methods in PDFViewer and PDFThumbnailViewer

Conflicts:
	web/pdf_viewer.js
Adds types definitions (jsdoc) for the PDFViewer code.
Renames and refactors PDFView to PDFViewerApplication.