Add support for new Moodle activity logging events API

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>