database: migrate to database for account
New database is created per account. It contains:
- profiles table
- conversations table
- interaction table
- account profile. This table has only one row and store account
avatar and alias
Database file named by account id.
Database content also was changed:
- contact uri stored in canonical format, so it is unique for SIP
contacts
- generated messages stored in a format that allows localizations.
Change-Id: Id7803ab797ac937d63155870fc5c8edf94119bbd
34 files changed