Merge branch 'hotfix/4232'

Close #4232
Merge branch 'hotfix/4232' into develop

Forward port #4232
Merge pull request #3754 from mabuzagu/patch-1

[WIP] Update library/Zend/Stdlib/Hydrator/ClassMethods.php
Merge branch 'feature/3754' into develop

Close #3754
Close #4229
[#4226] Added test reproducing issue

- calling `allow($role)` after a resource exists should grant that role
  all privileges on all resources.
[#4226] Fix null resource/privilege assignment

- Prepend `null` to the list of resources when `null` is passed as the
  resource to `allow()`/`deny()`, ensuring that `allPrivileges` gets
  updated correctly.
fixed setEventManager
Merge pull request #4235 from prolic/patch-3

fixed setEventManager
Merge branch 'hotfix/4235'

Close #4235
Merge branch 'hotfix/4235' into develop

Forward port #4235
Update ProvidesEvents.php
Update ModuleManager.php
Merge pull request #4236 from prolic/patch-4

Update ProvidesEvents.php
Merge pull request #4237 from prolic/patch-5

Update ModuleManager.php
Merge branch 'hotfix/get-called-class-changes'

Close #4236
Close #4237
Merge branch 'hotfix/get-called-class-changes' into develop

Forward port #4236
Forward port #4237
ValueGenerator constant detection
Remove annotation
Merge pull request #4239 from neeckeloo/remove-annotation

Remove annotation in Zend\Db\Adapter\AdapterAwareTrait
Merge branch 'hotfix/4239'

Close #4239