Optimization of save/restore usage
Added paintSolidColorImageMask
Added paintJpegXObject
Merge pull request #4999 from pramodhkp/saverestore

[SVG] Optimization of save/restore usage, Addition of paint methods
Fixes CanvasPixelArray set polyfill for chrome < 21 (#4974)
Merge pull request #4997 from CodingFabian/issue-4974

Fixes CanvasPixelArray set polyfill (#4974)
Combine re element into constructPath

Conflicts:
	src/core/evaluator.js
Combine re element into constructPath
Added paintJpegXObject