Port the v8 sandbox to C++

I ported the v8 sandbox to C++ because it was vulnerable to some `Error.prepareStackTrace` hackery.
This will require a binary to be built for the v8 sandbox, but it won't be trying to hide a complete javascript API from the sandboxed code, so it can't easily be broken out of.