Added indexes and uniques to SQLite

Current change avoid us to test DB indexes and unique constraints on
SQLite (current DB backend for testing) - initial DB migration
modified due to add indexes and unique constraints to SQLite backend.
Tests modified correspondingly.

Change-Id: I84ad2a208e04894d59fe10438de978d53fc582e9