React 0.12 support

This adds support for React `v0.12`. Depends on #3. 

cc @Raynos @malandrew @ross- @lxe