Merge branch 'hotfix/#6537-support-mime-stream-rewind'

Close #6537
Added a failing test case for #4208
Resolved the failing issue for #4208
Reverted the php array notation changes.
Merge branch 'hotfix/#6902-plugin-manager-auto-invokables-should-reject-non-existing-classes' into develop

Close #6902
Forward port #6902