Let Parser_makeFilter return NullStream when an invalid stream is encountered (issue 3417)
Build up textChunk.str more efficiently.

PartialEvaluator.getTextContent() builds up textChunk strings 1 char at a time,
creating many 100s of 1000s of intermediate strings along the way. This patch
make it instead push chars to an array and then join them at the end, as we
have done in numerous other places.
Implements onerror for JpegStreams
Fixes AnnotationUtils in the extension build
Merge pull request #4969 from timvandermeij/image-loading

Implements onerror for JpegStreams
Removes PDFJS.Annotation
Merge pull request #4970 from yurydelendik/AnnotationUtils

Fixes AnnotationUtils in the extension build
Merge pull request #4968 from nnethercote/glyphBuf

Build up textChunk.str more efficiently.
Not ignoring MissingDataException exception.
Removes error catch from fetchUncompressed()
Avoid allocating return object in EvaluatorPreprocessor_read().

This function can be called 100s of 1000s or even millions of times, and the
allocated return object accounts for 10% of all GC thing allocations for some
documents. It's easy to avoid, which reduces stress on the garbage collector,
and this patch does that.
Merge pull request #4972 from nnethercote/preprocessor-read

Avoid allocating return object in EvaluatorPreprocessor_read().
Merge pull request #4971 from yurydelendik/rm-suppressEncryption

Removes error catch from fetchUncompressed()