adding email notification for attendees when an event they are on has changed. also added tests which were lacking for some event model methods and refactoring tests