Support for navigation in lifecycle methods.

Fixes ERRAI-516
Merge remote-tracking branch 'jbarop/ERRAI-516' into ERRAI-486
ERRAI-486 - sip - replaced widget with IsWidget