Adding a definition to transitionTo so that user can pass options object

Adding a definition so that the user not only can pass a boolean as the third option to transitionTo, but also an options object (that reflects the underlying angular functionality).