Adding another transitionTo definition to angular-ui-router

The added definition allows the user to pass not only a string, but a state of the type IState, too.