Contest 4

Hello, This is my first time to submit to phpmyadmin. This is my submission to the 4th contest.

I added the index form that is visible in the table structure to the relations page and then re-factored some of the php and js code to other files to avoid duplication of code.