Lesson status changes - part 1

Begun implemenation of changeable lesson status by admins, and to a
lesser extent tutors and (indirectly) parents.
Also added a new 'Event Log' option to the user panel to link to
existing database functionality for logging failed logins, etc. Still
needs a user page created for viewing.