Update code and examples to React 0.12
0.6.0