[feature] Added contacts support

Added support for synced contacts informations.
Most of the informations should go to the contact
database, but cached photos are stored in a
separated database.