AbstractBeanFactory removes alreadyCreated entry after bean creation failure

Issue: SPR-10896
EhCacheFactoryBean calls addCache after listener registration

Issue: SPR-10904
Fixed javadoc references