Inject the runtime to a global instead of exposing internals

See https://github.com/facebook/react-devtools/commit/673de20a4a0654ab849575307b9cf87fde53439e
Merge pull request #2337 from sebmarkbage/devtoolshook

Inject the runtime to a global instead of exposing internals