Created foreign keys and validations for courses and locations

Created new migration files that add foreign keys for models that belong to courses and locations. Also updated course and locations models to include validations and relational methods (has_many)