Notifications: checking teplate syntax when create

- the NotifTemplateMessage syntax is checked before storing in DB when
  creating or updating
Log messages fix in method checkMembersState
Set lenient to false for perun date formatter in beansUtils

 - because of bad coverting from string to timestamp we need more
   strict rules
 - set lenient to false means strict rules for conversion (formatter
   will not create date from wierd string)
Add behavior for concating special characters for xpath query

 - add private method convertToXpathSearchString which prepare query for
   xpath, this query need special behavior for single and double quotes
   using concat function
Merge pull request #579 from stavamichal/fixExtSourceXML

Add behavior for concating special characters for xpath query
Merge pull request #578 from stavamichal/setLenientForDateFormatter

Set lenient to false for perun date formatter in beansUtils
Notifications: fix bug in constraints of receiver

- two receivers with the same target(email) templateId and locale are not
  allowed
- this commit adds the templateId
Notifications: log undefined values

- undefined values were skipped, but not logged - this commit adds
  logging
Notifications: limit for life time of poolmessages

- pool messages are deleted from db after certain time limit (now set to
  10 days)
Merge pull request #576 from jirmauritz/notification

Notifications: checking teplate syntax when create and set time limit for pool messages
Removed double definition of plugins and dependency in pom.xml
Fixed indentation in all pom.xml files.
make engine ignore facilities (for testing of new engine)

{alcor,aldor,ascor,torque}.ics.muni.cz
nympha-cloud.zcu.cz
Lower number of gen workers in Engine

- Due to new functionality with preferred unix GID, gen services using
	this new attribute takes more time to get data therefore generating
	process ends on apache timeout.
- This patch lowers number of gen workers. Hopefully this decrease stress
	on core and even passwd gen services returns data before apache
	timeout.
Synchronizer checks near members' experations

Synchronizer checks if any member will expire in near future or has
expired recently. If so, message in audit log will be emitted.
runs Synchronizer.checkMemberState on devel

Periodically runs Synchronizer.checkMemberState on devel (seme settings
as is on production).

We will use it for testing membership expirations.
alter table users modify last_name varchar2(64);
alter table users alter column last_name drop not null;
Merge pull request #582 from zoraseb/users_lastname_nullable

alter table users modify last_name varchar2(64);
DB: Updated DB version in sql files comments to current
Merge pull request #586 from zlamalp/db

DB: Updated DB version in sql files comments to current