Security rework.
- Removed the IPermissionsModifiedService in favour of standard EventHandler
- Changed the ClientAuthorizationService not to do a read of permissions instead the EsbHub now pushes the permissions when the client is connected.
- Updated the ResourceRepository to correctly work with the new method of security.
- Cleaned up code in the ClientAuthorizationService to not try and authenticate the user against the remote machine and then work out the permissions for the User
- Cleaned up the ServerProxy so that it did not try and get a IPrincipal against the remote machine from the user using the Studio