Made viewer's webViewerLoad callable from outside viewer.js

In case the viewer is loaded programmatically after "DOMContentLoaded" is triggered.
"PDFView.open" is also conditioned on "file" being set, allowing "DEFAULT_URL" to be null in "generic" mode.