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
tree: 7a5d12dfb1ec63bdac44c7c1e5f16cc5d85986f7
  1. Ring/
  2. .gitattributes
  3. .gitignore
  4. .gitreview
  5. compile-ios.sh
  6. COPYING