`type` fix for React v0.12.

On React.DOM components, `type` is a string rather than the class definition.
Merge pull request #36 from STRML/master

`type` fix for React v0.12.