[commhistory-daemon] Add rpm packaging
[commhistory-daemon] Fix ut_textchannellistener to pull in QtGui

textchannellistener and streamchannellistener use QtContacts, which
requires QtGui. The test would fail to build as a result, which was
hidden by another dependency (mlite) pulling in QtGui instead.
[commhistory-daemon] Use x-commhistory-event-id in tp sent message headers

Clients may set that field if the outgoing message event already exists
or was created externally to prevent commhistory-daemon from generating
a duplicate event.

Currently, existing events are mostly ignored in the send handler; it
may later be useful to update their sending status in some way.