added priority variable to base Event class
added Event::compare() method to compare two events
implemented priority_queue using EventComparator struct
Merge branch 'add-event-priority' into development
set exit event priority to zero (highest)
Merge branch 'update-exit-event' into development