[WARNING] Manage dispatching of internal events and corresponding tests updates

Management of the dispatching of the various internal events:
Member/Context Joined/Left, AgentSpawned/Killed, etc.
Update of the Lifecycle unit test to integrate the corresponding
modification