Fixed warning about directly calling a component.

  React 0.12 depreciated directly invoking components, they now need to be wrapped in a React.createFactory call. We now do this for the handlers passed in to the router in order to suppress the warning.
Yes, this would drop support for functions as handlers, but I think this is fine. It's better to create a component than to define a function.