Added a class representing events to the data model and made the event
listing work with it rather than the generic AnswerCase. In addition,
fixed a bug with restoring fragment state in the history view.