Added foreign keys to tables in migration files. Added pagination to index views.
Styled testtype views. Added code for the create action
Models for linking tables - perhaps these should be replaced with DB calls or fleshing out the models that use them.