Replace missing indexes for SQLite

Migration 018 to replace missing indexes on domains and servers

Bug #1200027

Change-Id: I2240af58c7730d019916924f8f314134899c7cf6
Merge "Replace missing indexes for SQLite"