Fix of pdf not loading on android (issue 5427)

Fix for pdf on android not visible

Fix for pdf on android not visible
fix passing null as Promise's onFullfilled (which is broken in Chrome 32)
Fallback to the |Dummy| Pattern when we fail to parse a Shading Pattern (issue 5509)
removed rounding of values in composeSMaskLuminosity

maskData comes out of maskCtx.getImageData, so is 0..255 clamped, and
the used multiplications will not create fractions needing rounding,
neither would addition.
increase chunk size in SMask composition to 1M pixels
Merge pull request #5516 from Snuffleupagus/issue-5509

Fallback to the |Dummy| Pattern when we fail to parse a Shading Pattern (issue 5509)
Merge pull request #5507 from palkan/fix-promise-null

Fix passing null as onFullfilled (which is broken in Chrome(-ium) 32)
Merge pull request #5523 from CodingFabian/remove-canvas-rounding-luminosity

removed rounding of values in composeSMaskLuminosity
Merge pull request #5524 from fkaelberer/increaseSMaskChunkSizeTo1M

Increases chunk size in SMask composition to 1M pixels
Use 3 param method for converting r,g,b into css string.

This avoids creation of temporary arrays to pass them into the util
method. Also using "arguments" is more expensive then passing in 3
parameters.
Add a (linked) test case for bug 1064894

This should have been part of PR 5284.
Merge pull request #5528 from Snuffleupagus/test-bug-1064894

Add a (linked) test case for bug 1064894
Merge pull request #5448 from thejdeep/androidfix

Added try/catch #5427
Merge pull request #5449 from CodingFabian/preferParamsOverArguments

Use 3 param method for converting r,g,b into css string.
Merge remote-tracking branch 'upstream/master'