Fix unique course when creating
In this commit, the validateUnique code is adjusted so that it is equivalent to the database schema. This is done by not checking the course code to be unique, but instead the combination of course code, year and quarter