Add remove methods for group_resource and group attributes

- add method removeAttributes for group and resource able to remove also group attributes
- add method removeAllAttributes for group and resource able to remove also all group attributes
- add these methods also to RPC
- add simple tests for those two methods
New method getResourceRequiredAttributes

- add method getResourceRequiredAttributes from resource for group_resource and group attributes
- method has parameter "workWithGroupAttributes" 
- add simple test for this method
- fix of javadoc in AttributesManagerBl (PrivilegeException is not correct here)
GUI:  support group, group_resource attributes together on group settings tab

 - Allow to set/remove group & group_resource attributes together on
   group settings tab. Also adding new attributes support new unified method.
-  Fixed confirms design when setting values to all members of group.

Before merging this commit to master, Fixes for tasks #1461 and #1462 must be merged.
Merge pull request #212 from stavamichal/removeAttributes_for_group_and_group_resource_attributes

- Add method removeAttributes for group and resource able to remove also group attributes
- Add method removeAllAttributes for group and resource able to remove also all group attributes
- Add these methods also to RPC
- Add simple tests for those two methods
Merge branch 'getResourceRequiredAttributes_for_group_resource_and_group' of https://github.com/stavamichal/perun into stavamichal-getResourceRequiredAttributes_for_group_resource_and_group

In order to fixup issues commented on GitHub.
CORE: small fixes to implementation of getResourceRequiredAttributes()

- Save up db query when checking if group and resource are from the same VO.
- Throw ConsistencyErrorException if method retrieves attributes from different
  namespace than group, group_resource.
- Trimmed whitespace
New method getResourceRequiredAttributes #213

- 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)
GUI: fix IDS when setting new attribute fails

- In case Exception is thrown when setting new attributes,
  we must remove ids "workWithUserAttributes" and "workWithGroupAttributes"
  so inner method can properly decide namespace for another setAttributes() try.
REGISTRAR: fixed typo in check for similar users
Merge pull request #215 from zlamalp/fix

REGISTRAR: fixed typo in check for similar users
Merge pull request #214 from zlamalp/groupResource

GUI: Group resource
GUI: updated notification text for similar users.

- Message should now state more precisely, what vo/group manager
  is expected to do before application approval.
- Same goes for notification in application form gui displayed to users.
GUI: fixed passwrod reset and form styles

- Fixed input form alignment when text box is in error state.
- Same alignment for menu items (icon + text).

- PasswordReset now correctly notify user, that he doesn't have
  login in requested namespace and also that namespace is not supported.
Core: service identity can be group admin

There is no reason why service identities shouldn't be able to get
additional roles in core. Except that we won't be able to get real actor
form audit log for action made by the service identity. That's the risk
that user who give additional role to service identity must take.

This commit only changes behavior of add group admin. Other similar
methods are already accepting service identities.
GUI: fixed display of errors on application form

- Fixed typo "if" -> "else if" in order to display error message,
  when user already have pending application.

- Fixed form width in order to display correctly aligned form
  and error messages.
Merge pull request #219 from zlamalp/appFix

GUI: fixed display of errors on application form
Merge pull request #216 from zlamalp/apps

GUI: updated notification text for similar users.
Merge pull request #218 from zlamalp/fixes

GUI: fixed password reset and form styles
GUI: completly remove facility "type" property.

- Removed get/setType() from Facility object.
- Do not send type as parameter when creating Facility.
- Removed type from facility tables and tab headers.
- Removed type from breadcrumbs and listboxes.
GUI: do not display facilities statistics by type

- Remove facilities statistics from perun admin - Statistics tab
  since facility type is to be removed.