Add boolean parameter 'showAllAssignedCourses' in function 'getCoursesFo...

...llowedByUser' to retrieve all assigned courses if needed - refs #7296
Again, the $from parameter should be 0, 100, 200 or something like that, not a user role.