Add perun.ldif to ldapc /setup folder

 - perun.ldif with all attributes and objects for perun ldap
Merge pull request #516 from stavamichal/addPerunLdifToLDAPc

Add perun.ldif to ldapc
REGISTRAR: catch also MissingRequiredDataException

- When returning map with data, catch and save also
  MissingRequiredDataException.
Fix service mailman_meta

 - create new files also for empty mailinglists
 - slavescript can find differences between old state and new empty file
   state (even if all members are gone now)
Merge pull request #556 from zlamalp/registrar

REGISTRAR: catch also MissingRequiredDataException
REGISTRAR, CORE: fixed parsing common name

CORE

- Parse parts of common name only if matcher.find() returns true.
- This cause method to return map with "namePart"=null on no match
  instead of throwing an exception.

REGISTRAR

- Added checks to call parseCommonName() only on non-empty and != null input.
- Do not overwrite "displayName" to "Shib-Person-displayName" as attribute
  name to get from federation values.
REGISTRAR: better pre-fill of user's name

- When filling form item mapped to perun attribute displayName,
  if value is not provided by perun or federation (concrete attribute),
  try to recreate it from parsed name (which is best of displayName,
  cn or givenName+sn).

  So if value is provided by Perun, it's filled.
  If it's provided by federation and present, it's overwritten.
  If it's provided by federation and missing, try to get best
  of all provided attributes (if not set by Perun already).
Merge pull request #559 from zlamalp/displayName

REGISTRAR, CORE: fixed parsing common name
Merge pull request #508 from stavamichal/fixMailman_meta

Fix service mailman_meta
add perun-engine-new and perun-dispatcher-new to the build, fix typo
Disable case sensitiveness for group names.
Notifications: constrains for notif objects added

- no two TemplateMessages with the same templateId and locale can exist
- no two Regexes with the same regular expression can exist
- no two Receivers with the same target and locale can exist
- created new PerunExceptions for each case in Notification module
GUI: handle aborted request (can't contact server)

- When request to server is aborted by browser (can't contact server), then
 status code of response is 0. Request must be handled in onResponseRecieved().

- Fixed display of connection lost widget in main GUI. Display it only
  when request is aborted by browser.
Merge pull request #565 from zlamalp/gui

GUI: handle aborted request (can't contact server)
UTILS: print also timestamp in pwdm log

- Also add help text for ldaps settings.
Change rules for getting rights for groupManager on attributes

 - change rules on member-resource attributes: only rights on any assigned
   group to resource are needed, add comment with definition of this rule
 - change rules on resource-group attributes: add comment with
   definition of this rule
 - change rules on user-facility attributes: groupManager need rights on
   any group (under resources of facility) which is from the same vo
   like some of users member, add comment with definition of this rule
 - change rules on user attributes: only has groupManager in vo where
   user has any member, add comment with definition of
   this rule
 - change rules on member attributes: only has groupManager in vo, where
   the member has membership, add comment with definition of this
   rule
 - change rules on vo attributes: change rights from NEVER to only
   has groupManager in vo, add comment with definition of this
 - do NOT change rules on group, resource, facility and host attributes
Merge pull request #566 from zlamalp/ldap

UTILS: print also timestamp in pwdm log
Merge pull request #562 from stavamichal/attributesRightsForGroupAdmin

Change rules for getting rights for groupManager on attributes
Fix and add some minor changes to XML extSource

 - xml extSource can send html header if it is set in configuration
 - fix closing of SSL connection
Merge pull request #567 from stavamichal/fixAndAddSomeMinorsToXMLExtSource

Fix and add some minor changes to XML extSource