Core: repaired facilitiesManager.getAllowedUsers

- the method now returns list of unique users
- the test for uniqueness written
- moddified assignService() in ResourceManager
- added check of facility attributes and resource attributes
Merge pull request #222 from jirmauritz/getAllowedUsers

Core: repaired facilitiesManager.getAllowedUsers
Merge pull request #140 from papperwing/AssignServiceAttrTest

Core: added checks of facility attributes and resource attributes in assignService() in ResourceManager
Fix of dependecies of UF:V:shell

Fix of typo in dependecies.

U:D:preferredShells wasn't in dependencies of UF:V:shell therefore if
U:D:preferredShells changed, core wasn't notified about possible change
of UF:V:shell.
Fix of typo in attributes description

Changes to be made in production instance:
Chnge description of U:D:preferredShells and UF:V:shell according to
corresponding modules.
Fix spring component scan by tasks-lib

- Due: component scan use "base-package" which is not recursive or fail because two different paths of one package
- Use more specific base_package for taskManager in tasks-lib application context
Revert "Fix spring component scan by tasks-lib"

This reverts commit d86e435defd15ba2e6caa4e62273ce0aa21bbfa5.
Fix spring component scan by tasks-lib

- Due: component scan use "base-package" which is not recursive or fail because two different paths of one package
- Use more specific base_package for taskManager in tasks-lib application context
Merge pull request #223 from stavamichal/fix_applicationcontext_for_engine

Fix spring component scan by tasks-lib
CORE: save up 1 DB query in GroupsManager.addMember()

- We can check authz in method on Group for VOADMIN, so no need to
  call getVo(sess, Group). Also check for matching VO can be done
  on Group's and Member's voIds.
GUI: fixed URLs for password reset application

- PwdReset URL can now be set in perun-web-gui.properties, then only single
  URL is used. If value not set in config file, then calculate relative URL from
  hostname and authz type.

Following properties may be optionally added to perun-web-gui.properties before
this commit can be merged:

getPasswordResetUrl = [URL to pwd-reset application]
Merge pull request #225 from zlamalp/pwdreset

GUI: fixed URLs for password reset application
GUI: disabled translation for PerunWeb and PasswordReset

- We do not plan to translate PerunWebGui or PasswordReset,
  so we can use only default language (English) and save up
  many compilation permutations (6 dev / 10 prod).
Merge pull request #226 from zlamalp/lang

GUI: disabled translation for PerunWeb and PasswordReset
Merge pull request #224 from zlamalp/simplify

CORE: save up 1 DB query in GroupsManager.addMember()
Change properties and logs dirs from "perunv3" to "perun"

- change the path in main pom.xml file
- change the path in core for getPropertyFromConfiguration (Utils)
- change the path in rpc-lib for getPropertyFromConfiguration

NEED to be done, before apply this commit:
- create dir /etc/perun with same rights like /etc/perunv3
- create dir /var/log/perun with same rights like /var/log/perunv3
- change /home/perun/tomcat-devel/bin/setenv.sh parameter for
	log4j.properties file to /etc/perun if it's hardcoded here
Merge pull request #227 from stavamichal/change_properties_and_log_dirs_from_perunv3_to_perun

Change properties and log dirs from perunv3 to perun
Formating of source code - trailing whitespaces

Remove all trailing whitespaces
Format of source code - indentation

Indentation is made by tab now.