lifecycle: Added LifecycleController, LifecycleOperation and ILifecycle.
lifecycle: added a test for the basic Lifecycle infrastructure
lifecycle: introduce lifecycle support in the protocol stack
lifecycle: added an example
lifecycle: updated all examples