added logic to placement of the popups for eventmarkers based on position of the eventmarker. added overwritable listItemTemplate function in listView to easier create custom listviews
added overridable eventMarkerTemplate in agendaView
also added position shifting to the allday eventmarkers
added extra placements to the popover of an eventmarker: top-left, top-right, bottom-left, bottom-right
declaring a variable in the correct place