Allow pause/resume javascript events outside Blink.

The web application should have the ability to be suspended/resumed,
this patch will export the APIs outside the Blink for suspend and
resume the javascript engine.

BUG=XWALK-1497
BUG=XWALK-1498
lgtm but I wonder why noone is doing this already?