Refactoring of IntervalManager complete. Is now split up into one singleton, and one unit-testable class.
Adds unit tests for EventManager.

Refs #6
Merge branch 'splitIntervalManager'