Fix undefined function report_engagement_get_course_summary()

Hi there

Thanks for the plugin.

We are using Moodle v2.5.3 and the engagement block throws fatal error 'Undefined function...'.

The lib.php for the report plugin is included after calling the function 'report_engagement_get_course_summary()'

Cheers