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
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