Fixes duplicate source contacts, when receiving new one check for existing.
Fixes duplicate items in cached recent messages that leads to wrong messages shown.
Adds error logging when no metacontact found for contactID, used for opening chat window for recent chats source contacts from the UI.