Removes all actions for given object. It the latent actions are being currently handled (so the function is called inside a ProcessLatentActions functions scope) there is no guarantee, that the action will be removed before its execution.