Merge branch 'hotfix/4235'

Close #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' into develop

Forward port #4236
Forward port #4237