[qtcontacts-sqlite] Ensure incidental contact has the required aggregate

If a contact with insufficient identifying details has an incidental
constituent created, the resulting contact will not be linked to the
correct aggregate.  Ensure that the desired relationship is created.
Merge pull request #125 from matthewvogt/incidental-aggregate

[qtcontacts-sqlite] Ensure incidental contact has the required aggregate
Bump version
[qtcontacts-sqlite] Emergency support for QContactType filter

Somehow, we have never supported this feature.  We need to add proper
support, but this will do for tonight.
Merge pull request #126 from matthewvogt/type-filter

[qtcontacts-sqlite] Emergency support for QContactType filter
Bump version
[qtcontacts-sqlite] Support the QContactType detail properly

Note that we do not yet support any other types besides TypeContact.
[qtcontacts-sqlite] Create the isDeactivated index in new databases

This index was omitted from the list of pre-created indexes.
Merge pull request #129 from matthewvogt/contact-type

[qtcontacts-sqlite] Support the QContactType detail properly
[qtcontacts-sqlite] Supply the target aggregate for incidental contact creation

When we create an incidental contact to store data for an existing
contact, the ID of the aggregate for the new contact is already
known.  Supply this information to the save function, so that we do
not need to perform a search for the appropriate aggregate.
Merge pull request #130 from matthewvogt/aggregate-select

[qtcontacts-sqlite] Supply the target aggregate for incidental contact creation
Remove tests specific to unrelated contact managers
Correct wrong function declarations
[qtcontacts-sqlite] Open non-privileged DB when specified

Privileged processes need to be able to open the non-privileged
database when required. Signals regarding database activity also need
to be handled seperately for the two databases.
Merge pull request #131 from matthewvogt/non-privileged

[qtcontacts-sqlite] Open non-privileged DB when specified
[qtcontacts-sqlite] Use less error-prone method of detecting privileges

This commit just attempts to mkpath on the privileged database
directory.  If it fails, it now assumes that it's nonprivileged.
This method is less error-prone than the existing method which
relies on Qt's FS permission support (which cannot be abstracted
perfectly across platforms, and so doesn't really work).
Merge pull request #133 from chriadam/privnext

[qtcontacts-sqlite] Use less error-prone method of detecting privileges
[qtcontacts-sqlite-extensions] Add unit tests for TwoWayContactSyncAdapter

This commit adds unit tests for TwoWayContactSyncAdapter to ensure
we don't regress functionality in the future.
It also fixes two bugs found in the sync enablers during testing:
 - local since timestamp could regress in some circumstances
 - remote modifications of locally deleted contacts could be
   handled incorrectly in some cases
Merge pull request #132 from chriadam/twcsatnext

[qtcontacts-sqlite-extensions] Add unit tests for TwoWayContactSyncAdapt...
[qtcontacts-sqlite-extensions] Improve detail delta semantics in TWCSA

This commit ensures that detail provenance is maintained when a remote
sync results in a detail modification.