fix($deepStateRedirect): provide state dsr function with to and redirect info.
fix($deepStateRedirect): provide state dsr function with to and redirect info.

- In a state definition, the deepstateredirect can be a function.  This function can now inject a `$dsr$` object which has to: { state, params} and redirect: {state, params}.  This can be used to determine whether to trigger DSR or not.
- Made a default implementation of the DSR function which tests if the `$dsr$.redirect.state != $dsr$.to.state;`

Closes #91

christopherthielen/ui-router-extras,phenomnomnominal/ui-router-extras,hightower/ui-router-extras,Mindfor/ui-router-extras,jurrinus/ui-router-extras,Sharondio/ui-router-extras,OpenWhere/ui-router-extras,platdesign/ui-router-extras,viewthespace/ui-router-extras