Upgrade to React 0.8.

Attempted to upgrade to TypeScript 0.9.5, but there are just too many bugs to
workaround. Fixed some subtle bugs that weren't caught by 0.9.1 though.