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
CORE, RPC: added path to log4j configuration to web.xml

CORE:

- Removed log4j.properties from perun-core module.

  This will cause tests runned from your IDE not to log.
  You can of course add sample log4j configuration to
  src/test/resources which will be used instead.

  Tests runned by maven log based on pom.xml configuration
  of log4j, which by default is do not log anything.

  Not sure, how this will affect other apps including perun-core as lib.
  If they do not specify own log4j configuration, they will probably
  don't log anything. But you can start any java app with
  "-Dlog4j.configuration="path"" property to point to existing external
  configuration.

RPC:

- Added Log4jConfigListener definition to web.xml, which must be
  first listener in this file so logging is enabled before spring
  initialize itself.

- Added path to external log4j configuration file (log4j.xml is
  expected filename instead of log4j.properties).
  Absolute path to file can be set by maven on build by perun.conf
  property (which by default is "/etc/perunv3").
  Filtering is set in maven war plugin for web.xml file, since
  its located in webapp folder and not resources folder.

  Existing log4j.properties files can be easily converted to xml format
  using this online tool: http://log4j-props2xml.appspot.com/

  Please convert your log4j config files before using this commit !!

Also if you find out, that perun is still not logging after this change,
you might need to modify tomcat settings:

In Tomcat 7 <7.0.43 you will need to change catalina.properties
and remove "log4j*.jar" from the jarsToSkip property.