Added models, migrations, tests, Foreign keys and validations added to terms, sections and courses

Take it easy Jim!!! <3