CXF-5576: Initital support for CDI integration. Added more test cases and support for application singletons