EQ-1676 list_courses_for_user returns course id number
Clean up equella_get_coursecode() code