Accept runtime through the global hook

This accepts the runtime through the global hook instead of requiring.
This makes it easier to detect React instances regardless of module system.

Also use the hook if it exposes selected node or overlays. This assists
while debugging a remote browser that doesn't have this extension
installed.