Fixed non-CDI deployment (TCK test failures): avoid CDI factory bindings when CDI bean manager is not available

Change-Id: I8aabb79dfba46973ec3c4be462deb5deb572486f
Signed-off-by: Jakub Podlesak <jakub.podlesak@oracle.com>