Source formatting - no chaining
LPS-39405 Remove redundant staging checking.

Layout permission checking now includes staging checking.
LPS-39405 Deny add page or manage pages permissions for live sites or page templates
LPS-39267 check if scopegroup and user belongs to the same company
LPS-39267 Source format
LPS-39267 move this advanced logic to the AdvancedPermissionChecker (BasePermissionChecker is not for evaluation logic, see SimplePermissionChecker)
LPS-39267 position comments closer to and in order of relevance
LPS-39267 SF
LPS-39593 Read last publish date from the staging group
LPS-39593 SF
LPS-39348 keep the controlPanelCategory empty when it was set empty
LPS-39295 Method BaseDB.removeNull() is case sensitive