translate statcmp.py to javascript
Fixes murmurhash for old webkit.
Add cache expire time to test server
Fixes masked JPEG image
Optimization for FlateStream_getCode, making more pdfs parsable.

This commit cleans up the FlateStream_getCode method, and removes a few error
conditions.
Previously it would fail if the codeSize is less than maxLen if end of stream
is reached. However in the document linked below there is a sub-stream
(the one starting at pos 337) which has maxLen set to 11, but actually
contains only 10. After breaking the sanity check still applies, and in this
case passes validating codeSize(10)==codeLen(10).

 http://www.cafeculture.com/wp-content/uploads/2014/03/V-CM-BR-086-04002-1346-0258-GP-Brazil-Fazenda-Cafe-Cambara-Terra-Preta-Microlot-Sample-0460-13-Pulped-Natural-60Kg.pdf
Merge pull request #4897 from CodingFabian/optimize-stream-getCode

Optimization for FlateStream_getCode, making more pdfs parsable.
Prevent infinite loop when scanning for endstream (bug 1020226)
add object id to streams to prevent infinite loops.

fixes http://bugzil.la/1020858
Optimized Lexer_getObj 2x faster
utils.js optimization of isFOO methods
evaluator.js minor optimizations
Optimized CanvasGraphics_executeOperatorList 66% faster
canvas.js minor optimizations
Optimized genericComposeSMask

Declaring the composition and backgdrop functions outside of genericComposeSMask
is more efficient.
Minor refactoring of EvaluatorPreprocessor_read
Merge pull request #4902 from Snuffleupagus/bug-1020226

Prevent infinite loop when scanning for endstream (bug 1020226)
Merge pull request #4907 from CodingFabian/fix-4906

add object id to streams to prevent infinite loops.
Merge pull request #4892 from yurydelendik/issue4890

Fixes masked JPEG image
Merge pull request #4867 from yurydelendik/nonalign32

Fixes murmurhash for old webkit.
Merge pull request #4895 from p01/Small_optimizations_1

Small optimizations 1