Upgrade to React 0.5.0

Using ac11d7cba4 from Khan fork.

Auditors: joel