[qtcontacts-sqlite] Convert local to was_local on creation

If a new local contact is aggregated into an aggregate which already
contains a local constituent at creation, change the new contact to
be a was_local constituent.
Merge pull request #79 from matthewvogt/was-local

[qtcontacts-sqlite] Convert local to was_local on creation