Merge pull request #45 from Gizra/zariz-index

Add indexes and foreign keys to the Snapshot table.
Merge branch '7.x-1.x' into zariz-overrides