BZ-1076196 - Enhance KieCDIExtension to allow optional injections
(cherry picked from commit bbebcb47759c2104972d356474a721a0829b90ca)