Fix bug: course tree not structured correctly.
Merge branch 'feature-enhanced_api' of github.com:iandavidwild/moodle-block_course_level into develop