V8 Bindings: return proper state from the script stack.
Created attachment 31495 [details] patch
Created attachment 31496 [details] patch Used OwnPtr instead of const_cast.
Landed as http://trac.webkit.org/changeset/44855.