Sometimes a curricular course doesn't have a competence course. So, meth...

...od curricularCourse.getCompetenceCourse() was returning null. Closes #244