Contacts: Don't overwrite known address books. Fixes #942
Contacts: Use sharees principals on read-write address book. Fix #952
Contacts: Convert TYPE=PREF to PREF=1. Fix #881