* added ability to handle 'state-change' presence events and generate corresponding even (w/o this fix all such events will be interpret as simple message)
[#69153686]
Merge with develop, fix conflicts.