make sure abstract factories, factories and services all handle types consistently
Merge branch 'hotfix/5280'

Close #5280
Merge pull request #5293 from stefanotorresi/hotfix/5289

Fix #5289 (abstract factories return type)

Conflicts:
	tests/ZendTest/ServiceManager/ServiceManagerTest.php
[#5293] review

- do not call initializers if we have a null value
Merge branch 'hotfix/5293' into develop

Forward port #5293

Conflicts:
	library/Zend/ServiceManager/ServiceManager.php