Add uniqueness validations to Coursework and Enrollment models