Use typedef to simplify declarations
[qtcontacts-sqlite] Report changed sync targets
Fix composition of gender detail update
[qtcontacts-sqlite] Create interface for out-of-band storage

Allow clients to store out-of-band data in the contacts DB, which will
be kept in sync with contacts data manipulations.
Use definition mask to minimize writes during aggregation.
Avoid conversions from internal to API ID when calling readContacts
Remove obsolete TODO
Rearrange SQL query for improved consistency.
[qtcontacts-sqlite] Fix aggregation query where subject contains multiple details

The old version did not expand correctly where the subject contained
more than one email address, or phone number, or online account.
Remove unused timestamp parameter
[qtcontacts-sqlite] Use temp table to find modifiable details