Drop default value from control permissions.

It wasn’t used at all.
Removed loads of unused permissions stuff.
Completely removed PermissionsManager

It was unused.
Removed loads of permissions stuff.

Seems it was all unused.
Rmeoved unused imports and JavaDoc additions.
Add generics to hidden groups.
Remove unused code
Scheduled notification interface doesn’t need to expose how it does it.

Actually this should always be inside the API as the tool shouldn’t ever worry about this.
Make delayed notifications use the better API.

Also extract constant and catch bad data passed into the API.
Cleanup JavaDoc.
Add JavaDoc to RankManager.
Move all the ContentHostingService code out.

Created the AttachmentService which deals with attachments for messages and attachments for Ranking.
Notes about RankManager
Correct confusion over userId and userEid.
AttachmentService setters.
Correctly wire up AttachmentService
Cleanup imports.
Got rid of AuthzGroupService and SecurityService.

SiteService does it all and there were loads of null checks that aren’t needed.
Remove unused entity broker.
Correct spelling of method on RankManager/AttachementService.