Bugfix dashevents
Created by: dsilhavy
This PR fixes the handling for inline and inband events. It includes
- Fix a bug in the calculation of inline event start times
- Fix a bug which causes events at period boundary to be ignored
- Make EventController a Singleton
- Move EventController initialization to StreamController. Each Stream will use the same EventController
- Updated EventController unit tests