Notifications: checking teplate syntax when create

- the NotifTemplateMessage syntax is checked before storing in DB when
  creating or updating
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
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.