JBIDE-17923 Support CDI 1.2

Facet CDI 1.2 is added.
The set of bean defining annotations for the 'annotated' bean discovery mode is changed.
An array type is not a legal bean type if its component type is not a legal bean type.