Revert "LPS-32769 NullPointerException can also happen when a hook is deployed"

This reverts commit 14c6958c6b9aace451d2f3018de307588dc88833.
LPS-32769 Ensure thread safty
LPS-32769 The test is just proving a point, not qualified enough to be committed
LPS-32723 Pre-filtering to prevent unnecessary service layer entering.
LPS-32769 Reuse original instance
LPS-32723 Consolidate isApplicableUser optimization to just one place
LPS-11933 Fixes child-menu issue by moving editor above the child menu
LPS-11933 - Source Formatting
LPS-11933 - Source formatting
LPS-32230 Unnecessary Shutdown button
LPS-32230 - Source Formatting
LPS-32230 - Source formatting
LPS-32230 - Source formatting
LPS-32269 If folder has permission give children files permission
LPS-32269 If category has permission give children threads permission
LPS-32269 If node or page has permission give children pages permission
LPS-32269 Always check permissions.view.dynamic.inheritance in Categories/Folders
LPS-32269 minor logic change and source formatting
LPS-32269 Return false if either VIEW or ACCESS of one of the parents is false
LPS-32269 Remove unneeded if statements