[Extensions] Make it "safe" to use v8 after a WillReleaseScriptContext.

Cherry pick of PR# 1379 for Crosswalk 3.

This fixes the crash https://crosswalk-project.org/jira/browse/XWALK-861