Let Parser_makeFilter return NullStream when an invalid stream is encountered (issue 3417)
Splits shared/annotation.js into core/ and display/
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.
Merge pull request #4965 from yurydelendik/annotations

Splits shared/annotation.js into core/ and display/
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()
Factor out repeated Ref key string generation code.

In src/core/obj.js, we convert a Ref to a string to index into a table like
this: 'R1.0'.  This conversion is repeated numerous times.

This patch factors out the conversion into a new function.
Ref.prototype.toString().
Merge pull request #4973 from nnethercote/better-ref-keys

Factor out repeated Ref key string generation code.
SVG Viewer example demo
Merge pull request #4979 from pramodhkp/svg-v3

SVG Viewer Example demo
Misc UI improvements for the SVG Viewer