[qtcontacts-sqlite] Record the provenance of aggregated details

Each detail now records which detail it was aggregated from.