crm: in dialog creating event from person module, fix incoming event creation

the event_workflow does no longer make a difference between incoming
and outgoing messages. Fixed creation of incoming events and add test
to check them to prevent future regression