Fix for Service Manager working incorrectly with Multiple Abstract Factories
Fix for Service Manager working incorrectly with Multiple Abstract Factories

With multiple abstract factories, ServiceManager will potentially return
the wrong item.

This fix makes it so that ServiceManager checks if the AbstractFactory
being called can create the item first.

matwright/zend-servicemanager,prolic/zend-servicemanager,MadCat34/zend-servicemanager,weierophinney/zend-servicemanager,akrabat/zend-servicemanager