Fix setScale regression that affects exiting Presentation Mode on narrow window widths
Set eof to true at the end of a FlateStream

At the initialization of `Lexer_getObj` (in `parser.js`), there's a loop
that skips whitespace and breaks out whenever EOF is encountered.
(https://github.com/mozilla/pdf.js/blob/88ec2bd1a/src/core/parser.js#L586-L599)

Whenever the current character is not a whitespace character,
`ch = this.nextChar();` is used to find the next character
(using `return this.currentChar = this.stream.getByte())`).

The aforementioned `getByte` method retrieves the next byte using
(https://github.com/mozilla/pdf.js/blob/88ec2bd1a/src/core/stream.js#L122-L128)

      var pos = this.pos;
      while (this.bufferLength <= pos) {
        if (this.eof)
          return -1;
        this.readBlock();
      }
      return this.buffer[this.pos++];

This piece of code relies on this.eof to detect whether the last character
has been read. When the stream is a `FlateStream`, and the end of the stream
has been reached, then **`this.eof` is not set to `true`**, because this check
is done inside a loop that does not occur when the read block size is zero:
(https://github.com/mozilla/pdf.js/blob/88ec2bd1ac/src/core/stream.js#L511-L517)

      for (var n = bufferLength; n < end; ++n) {
        if (typeof (b = bytes[bytesPos++]) == 'undefined') {
          this.eof = true;
          break;
        }
        buffer[n] = b;
      }

This commit fixes the issue by setting this.eof to true whenever the loop is not
going to run (i.e. when bufferLength === end, i.e. blockLen === 0).
Add pdf from issue 3885 to tests

Source: https://www.dropbox.com/s/ooqk82fq0gr5p6f/test-min-notext-opt.pdf
calgray: fix getRgbBuffer problem

This fixes issue 3903.
Adjusts heuristic for disabling Symbol encoding
Adds glyph mapping for standard fonts
Introduces LegacyPromise; polyfills DOM Promise
Merge pull request #4060 from yurydelendik/promises

Introduces LegacyPromise; polyfills DOM Promise
Merge pull request #4011 from Rob--W/issue-3885

Set eof to true at the end of a FlateStream
Merge pull request #4062 from kkujala/calgray

calgray: fix getRgbBuffer problem
Test if toggleHandTool is null before using it

Do not break the viewer if the buttons are not
available for some reason.
Show a different warning for PDF’s with forms.
Label ref test analyzer images.
Explain meaning of elements in secondary_toolbar
Merge pull request #4087 from brendandahl/analyzer

Label ref test analyzer images.
Merge pull request #4077 from brendandahl/form-fallback

Show a different warning for PDF’s with forms.
Add forms warning to the Swedish l10n
Merge pull request #4092 from Snuffleupagus/form-warning-msg

Add forms warning to the Swedish l10n
Merge pull request #4034 from Snuffleupagus/setScale-regression

Fix setScale regression that affects exiting Presentation Mode on narrow window widths
Merge pull request #4068 from yurydelendik/bug864847

Adjusts heuristic for disabling Symbol encoding