WFLY-1747 Implement CDI 1.0 bean discovery mode (the global part)