Speeds up the CMYK color conversion
Fixing Issue 2998 - Replacing `!!window.frameElement` with `window.parent !== window`
Fixes pdf application switching in FF22/23 (redo)
Merge pull request #3035 from Inkbug/issue2998

Fix for Issue 2998 – "Consider using `window.parent !== window` instead of `!!window.frameElement`"
Detect and add fallback if document colors are disabled in Firefox - address comment
Merge pull request #3018 from Snuffleupagus/detect-colors-disabled

Detect and add fallback if document colors are disabled in Firefox
Explicitly define layout of toolbar buttons

Before:

- Firefox's buttons looks OK
- Chrome (quirks mode): Buttons were aligned to the bottom (too much)
- Chrome (standards mode): Buttons were aligned to the top (too much)
- Opera/IE/Safari: Like Chrome (standards): Buttons too high

(Too high = Compare the other buttons to the rightmost button)

After:

- Firefox's button positions didn't change at all
- All buttons are aligned at the same level, across all browsers
Fix lab colorspace decoding and rgb conversion.
Merge pull request #3019 from yurydelendik/cmyk-3

Speeds up the CMYK color conversion
Disables cloning of the Dict
Merge pull request #3022 from Rob--W/css-button-fix

Explicitly define layout of toolbar buttons
Merge pull request #1545 from yurydelendik/revert-Dict-xref-hide

Revert Dict xref hiding
Merge pull request #3036 from yurydelendik/appswitch

Fixes pdf application switching in FF22/23 (redo)
Merge pull request #3038 from brendandahl/lab-cs

Fix lab colorspace decoding and rgb conversion.
Fixes Dict_assignXref type
Highly improved Chrome extension

Full list feature changes in this commit:
- Support for iframes
- Switched to content-type (MIME) detection instead of hard-coding a
  case-sensitive check for the .PDF extension
- The PDF's original URL is visible in the omnibox
- Support for incognito mode

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
Compatibility with XHTML documents

Previously, when the XHTML doctype + header is active, checks
would fail because a <div>'s tag name is "div" instead of "DIV".

document.activeElement does not exist in Chrome for XHTML documents

== -> ===
Improve download button and behaviour

Fix download button for top frames and sub frames

When PDF.js is the top frame, and the PDF URL is identical to
the top URL, download would fail. Fixed by adding a ? or & in these
cases.

When PDF.js is embedded in a frame from a different origin, download
would fail because window.open(url, '_parent') is ignored.
Fixed by using a.click() when available.
a.click() works in Chrome 25, Firefox 19, Opera 12.00 and IE 8.
Safari 5.1 does not support a.click()

Use a.download if available + documentation
Enable Web Worker again in Chrome extension

Previously, Web Workers were not created because of a security
policy which does not respect relaxed privileges.
Added Chrome extension's author