BZ-1056236 - Provide registering TaskLifeCycleEventListener in RegisterableItemsFactory

(cherry picked from commit 64f9f8dd9cb27304f54b5442f95cb5ad640fcd67)