Merge pull request #511 from zlamalp/registrar

GUI: search for similar users only when form is defined
GUI: prevent double loading application form after submission.
Merge pull request #512 from zlamalp/form

GUI: prevent double loading application form after submission.
New method getHostsByHostname

  - add to facilities managers (api,bl,impl)
  - add to rpc (facilitiesMethods)
  - special behavior for facilityAdmin (remove all hosts from facilities
    which this principal has not in authorized facilities)
Merge pull request #513 from stavamichal/getHostsByHostname

New method getHostsByHostname
Fix for method getHostsByHostname

 - problem with authorization if PerunAdmin is also FacilityAdmin
Merge pull request #514 from stavamichal/fixForGetHostsByHostname

Fix for method getHostsByHostname
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.