Use IntervalMap<> instead of Vec<> in EventCollection

The usage of IntervalMaps has been tested widely in the case of storyboarding and is very fast and uses relatively low RAM in the specific context of .osb storyboarding. Using such data structure would vastly improve and simplify the implementation and speed of getAt functions.