minor fix in need-lifecycle_with_messages_02 example
fixes in the event container model
added a connect message example
added a receive connect message example
added a deactivate message example