WELD-1342 SPI changes to enable global enablement of CDI
Move getAdditionalTypes() to BeanDeploymentArchive, update type discovery rules.