`type` fix for React v0.12.

On `React.DOM` components, `type` is a string rather than the class definition.

In that case, `isAsyncComponent` will fail as the `prototype` property is not defined.