Represent cid chars using integers, not strings.

cid chars are 16-bit unsigned integers. Currently we convert them to
single-char strings when inserting them into the CMap, and then convert
them back to integers when extracting them from the CMap. This patch
changes CMap so that cid chars stay in integer format throughout, saving
both time and space.

When loading the PDF from issue #4580, this change reduces peak RSS from
~600 to ~370 MiB. It also improves overall speed on that PDF by ~26%,
going from 724 ms to 533 ms.
Add reduced test-cases for issues 4875 and 4881
Fix issue where pdfDocument is null

Happens when no file is loaded
Merge pull request #5127 from Hengjie/fix-pdfdocument-null

Fix issue where pdfDocument is null
Merge pull request #5129 from Snuffleupagus/issues-4875-4881-tests

Add reduced test-cases for issues 4875 and 4881
Merge pull request #5111 from nnethercote/better-cidchars

Represent cid chars using integers, not strings.
Properly set this.eof in CCITTFaxStream
Merge pull request #5136 from timvandermeij/ccitt-lines

Properly set this.eof in CCITTFaxStream