Bug fix: Restricting creation of course, assignment

Restrcting the creation of course if a semester has not been created.
Similarly restricting the creation of an assignment if a course is not
created to maintain referential key integrity