int,PyITaskTrigger = CreateTrigger()
Creates a new trigger for a task, returns index and new ITaskTrigger interface