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 supress the warning.