Top level api docs for createFactory

As mentioned in the comments of #2615
I think this should probably be `ReactClass`