React 0.11 support.
Merge with master