Use page promise for text extraction.
Merge pull request #3917 from yurydelendik/issue-3857

Fixes gidStart for CID fonts
Merge pull request #3920 from brendandahl/text-promise

Use page promise for text extraction.
Cleaning up fonts when viewer is idle for some time