added day button handler functions
added endDate field, TODO: implement in front end
added field for comparator in EventsPriorityQueue
added labels and transitions for editpage and homepage
merged with master