Added Promise.catch
Fixed Promise so it rejects on uncaught exception
Catch possible rejection on ViewHistory.setMultiple
Merge pull request #4826 from dferer/localstorage-exceptions

Wrapped localstorage.setItem in try block to avoid uncaught exceptions.
small optimizations in parser.getObj(), lexer.getObj()
Adds some addon/mozcentral files to the preprocessor
Merge pull request #4831 from yurydelendik/ext-preprocessor

Adds some addon/mozcentral files to the preprocessor
Moves ColorSpace logic into evaluator
Moves shared/colorspace.js into core/
Moves shared/function.js to core/
Merge pull request #4824 from yurydelendik/movecs

Moves colorspace.js and function.js into core/
Merge pull request #4829 from fkaelberer/optimize_parser_getObj

small optimizations in parser.getObj(), lexer.getObj()
Fixing ca/metadata.inc file
Simplify the interaction with overlays by adding an OverlayManager
Convert the existing overlays to use the OverlayManager
Update overlay stubs for the B2G viewer