[qtcontacts-sqlite] Fix storeSyncContacts data loss

This function would previously lose data if: it was invoked such that
it implied modifications to a contact as well as other modifications
to another contact, which would subsequently be retargeted to apply
to the first contact (due to sync-target redirection).  In this case,
the redirected changes would be lost if the direct modifications were
processed subsequently.  The processing order would depend on database
row order, and effectively be random.
Merge pull request #119 from matthewvogt/fix-multi-mod

[qtcontacts-sqlite] Fix storeSyncContacts data loss
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.