ModelsMigrationsSync: Add check for foreign keys

Add method that checks that foreign keys in models are synchonized
with foreign keys that are created in database.

Change-Id: I4a776da0f53a79218ed4b111cac33b37d264fa1b
Merge "ModelsMigrationsSync: Add check for foreign keys"