[Contest-4] Automatically create index when creating foreign key.

Add index slider as in "Structure > Indexes > Create an index" to create/edit indexes.
Relational view and table structure view will refresh when an index is created, to reflect the changes.