* Fix loosly comparison to strict + argument types and return types for >=7.0
* Change hard-coded strings to ::class,
* Fix unit-tests failures - some relative to 7.0 phpunit env deployment
* Fix exception string + format return types
* Change string representation of new classes in traceLog to ::class
Credit to @arthurkushman
Note if media management is restricted, it can still be accessed via the Rich Editor - we need to address this concern later. This change is to allow the menu item to be toggled on/off.