CORE: Unified ext source names

- Unified ext source names in internal sessions to "INTERNAL",
  they contained ext source type in name before.

  This doesn't affect authorization, since it's based on actor
  (for service roles) and on ext source type for non-authz access.

  Ext source 501 should be deleted, since it's not used for any user
  and now shouldn't be used by any component or internal session.

REGISTRAR: new consolidator manager

- Moved check for similar users to consolidator manager.
- New object Identity which will be used as return value to GUI
  instead of returning RichUsers
REGISTRAR: fixed mail in found Identity
GUI, REGISTRAR: switched similar users to identities

GUI:

- When searching for similar users, use Identity instead of RichUser
  in order to keep private data private.
- Fixed return parameter of identity consolidator link (target -> target_url).
- Prepared code for new consolidator (commented out).
- Use link of identity consolidator with proper users authz in notice to admins.
- Source format.

REGISTRAR:

- When searching for similar users, parse multiple-value email field
  and search by all emails.
- Do not return identities of service users when searching for similar.
DISPATCHER-NEW: Update session in tests to EXTSOURCE_NAME_INTERNAL
REGISTRAR: application module for EduGain purpose.
Merge pull request #517 from zlamalp/module

REGISTRAR: application module for EduGain purpose.
Merge pull request #515 from zlamalp/registrar

CORE,GUI,REGISTRAR: fixed identity consolidation behavior
GUI: fixed typos
REGISTRAR: fixed delete of new application

- If application is in state NEW and has some reserved logins,
  then logins must be deleted from DB before deleting application.
UTILS: use encryption when accessing LDAP in password manager
Merge pull request #518 from zlamalp/fixup

GUI: fixed typos
GUI: updated Identity object

- Added equals to Identity object in GUI.
- Removed unused imports.
Merge pull request #523 from zlamalp/fix

GUI: updated Identity object
Merge pull request #521 from zlamalp/ldap

UTILS: use encryption when accessing LDAP in password manager
Merge pull request #520 from zlamalp/fixDel

REGISTRAR: fixed delete of new application
extended gen/mailaliases - 1. works with U:D:rootMailAliasesMail (if defined), 2. generates file 'mailaliases-root'\n