Migrated chart_logins part to new Moodle 2.7 logging.
Added backwards compatibility to Moodle 2.6 logging structures.
Merge pull request #4 from mwehr/master

Migrated chart_logins part to new Moodle 2.7 logging.