Add willTransitionTo/willTransitionAway hooks
Update auth-flow example to use transition hooks
Tweak docs