Update to React 0.12

Pull request for https://github.com/gaearon/react-hot-loader/issues/31