WFLY-1747 Implement CDI 1.0 bean discovery mode (per deployment configuration)
WFLY-1747 Tests for CDI 1.0 bean discovery mode