Merged Andersson:s changes: Added the functions getPublicCourses(), getPrivateCourses() and getStudentCourses(). * getPublicCourses() returns all the public courses. * getPrivateCourses() returns the private and published courses a student is registred to. * getStudentCourses() returns both public and private courses for a student.