Changed script to work with specific cur point type and to flush the deferred events, causing the sphinx to be populated.
if passing 'all' should not set it as type for the cue point selection
Merge pull request #576 from kaltura/IX-9.7.0-PLAT-609

Ix 9.7.0 plat 609