use global for node dep

the `global` module allows you to use globals in node & browser

 - 'global/window' returns `window` in browser & `global` in node
 - 'global/document' returns `document` in browser & a new instance of `min-document` in browsers.

I've updated `min-document` so an upstream unit test that uses `synthetic-dom-events` runs in node correctly.