Remove embeddedFontsUsed from API.
Faster JBIG2 decoding
Refactor XRef in obj.js

- remove unused "if (e instanceof Stream)" in XRef_fetch
- split XRef_fetch into XRef_fetchUncompressed and XRef_fetchCompressed
This explains the actual code flow better
- add line breaks after functions
- change the document to conform to current StyleGuide
Merge pull request #4344 from brendandahl/remove-embed-font

Remove embeddedFontsUsed from API.
Fix the combineUrl function

* Allow a url to omit the protocol and use the same protocol as the
* current page
Remove unused calculation from bad merge.
Merge pull request #4361 from brendandahl/remove-unused-code

Remove unused calculation from bad merge.
Merge pull request #4324 from fkaelberer/FasterJBIG2decoding

Faster JBIG2 decoding
Merge pull request #4348 from bthorben/refactor/obj.js/2

Refactor XRef in obj.js
Merge pull request #4357 from d3x7r0/master

Allow a url to omit the protocol
Updated to current latest stable version of jshint.
Merge pull request #4266 from peerlibrary/jshint-version

Updated to current latest stable version of jshint
Fix parsing of JP2 images
Merge pull request #4365 from fkaelberer/FixJpxParsing

Fix parsing of JP2 images
Merge pull request #4355 from nnethercote/sliced-masks

Put mask data to the canvas in small slices.
Merge pull request #4354 from nnethercote/Name-cache

Use a cache to minimize the number of Name objects.
Merge pull request #4336 from nnethercote/rgb24

Special-case 24-bit RGB image-handling
Merge pull request #4353 from nnethercote/more-Array-joins

Use Array.join() to build up strings in more places.
Remove unneeded |oldtypes| variable from bidi.js.