AggregateEvent_CreateEventReferences

Implemented function CreateEventAtPosition, which can be used on an
EventIterator to both add the event on the EventLine, and to create an
AggregateEvent with reference corresponding to the event. Works for
BEGINNING, END, BEFORE and AFTER. Still need to implement AT, PREV and
NEXT