MDL-41283 report_participation: Updated report to use logging api
MDL-41283 report_participation: Added phpdoc about function not used

In new logging api, xxx_get_view_actions() and xxx_get_post_actions()
will not be used to identify the paticipation of user. Event's crud
and edulevel status will define user's participation.
MDL-41283 report_participation: Fixed legacy actions returned from api's
MDL-41283 report_participation: moved code to locallib