[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.