Tweak the behaviour of navigateTo during document load
[Chrome extension] Added JSDocs to pdfHandler.js

And a small refactor to reduce the LOC in the onHeadersReceived
callback, to improve the readability of the code.
[CRX] Don't intercept download of PDF attachment

Fixes #3426
Removes browser decoding optimization for JPEG CMYK
Syncing order of JS files in viewer.html and make.js. See #3414
[Browsing history] Remove 'beforeunload' to enable caching and prevent duplicate entries
Removes foreign for Firefox CSS prefixes
Fixes ASCIIHex decoding
Refactoring download button logic
Rejects incorrect url in download manager
Merge pull request #3467 from yurydelendik/download-refactor

Refactor download logic
Restoring PR 3455 functionality
Merge pull request #3468 from yurydelendik/download-refactor

Restoring PR 3455 functionality
Enable range requests in master mode.
Merge pull request #3469 from brendandahl/enable-rr-in-master

Enable range requests in master mode.
Merge pull request #3436 from yurydelendik/jpeg-cmyk

Removes browser decoding optimization for JPEG CMYK
Fix printing behaviour in Chrome

Two major issues:
1. Border/shadow around every page. Removed by adding "border:none".
2. Added "overflow:visible" (overrides "overflow:auto") in #viewContainer.
   This solves two problems:
   - It prevents scrollbars from appearing.
   - Every "page" is automatically resized to fit on a printed page,
     just like the Firefox.
To see what's wrong, here's a picture of how PDF.js rendered the pdf in
 Chrome (using "Print to PDF" feature of Chrome):
 https://robwu.nl/pdfjs/pdfjs-print-with-chromium-28.pdf

Successfully tested with Chrome 28 and Firefox 22.

Solves #3445
Disable Google Translate on viewer in Chrome.

test/pdfs/yo01.pdf triggered "This page is in Japanese. Would you like
to translate it?" info bar in Chrome.
Use dummy font for testing when pdf fonts are loaded.
Merge pull request #3341 from Snuffleupagus/navigateTo-fix

Tweak the behaviour of navigateTo during document load