[TASK] Add ResourceStorage getEvaluatePermissions()

#51326 introduced a setEvaluatePermissions() method
to enable/disable permission checking in the
ResourceStorage. But a getter is missing so there
is no way to get the current setting.
This is needed if you only want to disable the
checks temporary and you do not know what the
current state is.

This changes adds a getter for the evaluatePermissions
value so you can fetch the current value.

Resolves: #57220
Releases: 6.2
Change-Id: I3fd22c112fb1f251b85d23fd8fa553091e3e3fc4
Reviewed-on: https://review.typo3.org/28690
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Frans Saris
Tested-by: Frans Saris