Re: Script.createContext is undefined in node 0.11.9 #3498

This should fix the issue specified in issue #3498.

There seems to be another issue in Node 0.11.9+ whereby REPL doesn't end after an exception occurs. I felt it easier for you to follow my changes if I submitted issue #3498 changes before working on REPL fix, I'll post another issue for that if one doesn't exist.