New method getResourceRequiredAttributes

- add method getResourceRequiredAttributes from resource for group_resource and group attributes
- method has parameter "workWithGroupAttributes" 
- add simple test for this method
- add method also to rpc
- fix of javadoc in AttributesManagerBl (PrivilegeException is not correct here)