Change how we access to PDFView fields

In PDF.js v1.0.907, the PDFView object has been refactored to two
different objects. In order to bridge this change, we are setting
an internal `_app` and `_viewer` reference to either the same,
or the two different objects.