Common annotation processing for imported and nested classes within configuration classes

Issue: SPR-12486
BeanFactory accepts getBean arguments for non-prototype beans as well

Issue: SPR-12488
Polishing