Update react dependency to support 0.11 and 0.12

Closes #29
Update tests and examples for react@0.12
Merge pull request #31 from ericf/react-0.12

Support React 0.11 and 0.12