Added function isUserEvent(). Returns 1 if given user_event string was generated by course participant, rather than the server/instructor.