unbreak server-side/web worker

We're now trying to access document directly at require time. Wrapping in a function prevented that before. But we can simply check what environment we're in first.
almost there
working
make it more message passing-y
make triggerEvent public
fix reacttestutils
Tests passing
fix where files live, remove old toplevel callback
fix cloneWithProps tst
Use opaque DOM node handles
move mountimage stuff to use handles
fix almost all of the tests
all tests fixed
add the plan
fix bad rebase
mostly fix tests...mostly
completly unfuck rebase
make example look better
okay, apparently the test app works
fuck the tests