Fix for broken handling of Zend\ServiceManager\ServiceManager::shareByDefault = false (Issue #3408)

Changed check for $this->shareByDefault() in
Zend\ServiceManager\ServiceManager::get() to allow shared
instances that are explicitly defined as shared when shareByDefault is
set to false.

This resolves issue #3408