updated NetworkManager onContactEvent slot
ContactDB::write returns the id of the written contact
Added Contact::Event enum
ContactEvent propagation chain impl