[contactsd] Ensure no duplicates in contact lists

If we attempt to save multiple instances of the same contact in a
batch operation, we will generate 'non-unique detailUri' errors.