[t3209] Refactor generateSafeTrackEvent to accept a popcorn options obje...

...ct vs only start/end