[qtcontacts-sqlite] Add more indexes for details tables

Improves performance when removing existing details for a contact,
which happens whenever a contact is updated (or created).