Cherry pick http://codereview.chromium.org/1207003/show

Implement support for reattaching a global object to a context. This
can be used to use the same global object for different contexts at
different points in time.

Needed to fix b: 2533219

Change-Id: Ib3b0d35f6ce3e0a5f4b8e54561ba2e99a9ab0ab1
5 files changed