[PDFHistory] Prevent the history from getting stuck in certain edge cases
Reduce max size for pattern and limit group canvases
Set URL in history.replaceState/pushState

When <base href> is present, history.replaceState and
history.pushState behave inconsistent with relative URLs.
http://code.google.com/p/chromium/issues/detail?id=274024

Contrary to what one expect, passing '' as the URL parameter to
replaceState/pushState does not associate the currently active
URL with the history entry, but a path relative to <base href>.

To fix the issue, explicitly associate the current active URL
with the history's state.
Prevent named actions from displaying a 'resource://' URL in Firefox
Avoid triggering rendering multiple times when zooming using the mouse wheel
issue #3346

squashing commits.
Disable range requests in old Android versions
Merge pull request #3553 from yurydelendik/reduce-scratch-canvases

Reduce max size for pattern and limit group canvases
Download: Use the typed array view instead of the buffer

The ArrayBuffer holding the data might be over-sized in case the
data length was not known during the transfer, e.g. when using a
Content-Encoding other than `identity` or when using a
Transfer-Encoding.
Only the view into the buffer has the correct length then, hence
always use the view directly when creating the blob URI for the
download, instead of the over-sized underlying buffer.

Closes GH-3627
Closes GH-3634
Merge pull request #3634 from nmaier/download-buffer

Firefox: Corrupt downloads ("padded" downloads) when there is no content length
Merge pull request #3421 from Snuffleupagus/avoid-multiple-rendering-on-wheel-zoom

Avoid triggering rendering multiple times when zooming using the mouse wheel
Merge pull request #3618 from Snuffleupagus/followup-3557

Prevent named actions from displaying a 'resource://' URL in Firefox
Merge pull request #3507 from Snuffleupagus/PDFHistory-fix-multiple-identical-states

[PDFHistory] Prevent the history from getting stuck in certain edge cases
Secondary toolbar
Merge pull request #2792 from timvandermeij/settings-bar

Secondary toolbar
Change the cursor so that text selection doesn't appear possible in presentation mode
Properly disable presentation mode when the viewer is embedded
Prevent searching during load from breaking the find functionality
Simplify getVisiblePages() in presentation mode
Update the Swedish l10n with secondaryToolbar strings