Update react to v0.12
Update tests to use new React APIs; Use createElement instead of React.DOM