[libcommhistory] Use QtContacts API for contacts updates if configured

To select the QtContacts API for updates/retrievals, alter the DEFINES in:
    common-vars.pri