add mandatory code to course constraint functions
add mandatory option to instructor constraints
fix mandatory priority display in added constraints window