[libcontacts] Provide functionality for libcommhistory

Report changes to cached contacts, including on resolution of unknown
addressing details.