WL-3609 Change the permissions when disabling tools.

When you disable a tool we change the permissions so that all roles without site.upd no longer have permission to use the tool. Todo this a tool needs to have registered it’s required functions. Because not all tools register required functions not all tools can be disabled any more.

Changing the permissions has the added benefit that it also stops users from accessing the content through web services (/direct), synoptic tools in the Home page and synoptic tools in My Workspace.