Upgrade phantomjs to 1.9.1-4

This fixes the install and permissions issues we've been seeing with
other 1.9.1-x versions.
Make .bind(null, ...) work on autobound methods

Fixes #266.
Extract out core ReactEmitter functionality.

Other environments can make use of some of the logic in ReactEventEmitter.
Refactor ReactComponent to have no dependency on the DOM.

React is more than just a DOM app library, it is a component
abstraction library. This enforces that.
Merge pull request #268 from spicyj/bind-null

Make .bind(null, ...) work on autobound methods
fix test case for rendering text node number 0