Ignore static final props when getting fields.
Smarter getAllFields method.

getAllFields method now ignores @transient fields and statics. Also fixes
exception when using only one field/ignorefield on clientside request.
Allow deletion of all groups for admin/superadmin.

Previously a detected admin/superadmin also needed to be part of the group he
was about to delete.
Give new groups some roles when they are created.
Ongoing users / groups refactoring

  - added initializeDeep function calls to some methods to get eager results
  - added methods for getting the granted application of a user
  - secured gizmo to only show granted (by group and owner) applications
Removed unused imports.
Ongoing users / groups refactoring

  - extended getAllEntities Method to make use of initializeDeep by flag
Revert to previous revision
Revert to previous revision
Removed some TODOs and adpated createUser() method (removing Role from method signature) because Users are not associated with roles anymore since we have groups.
Give groups a field that controls whether they can be deleted.
Added transient getRoles() method to User model. The roles of a user will be the (distinct) unification of all roles of all his groups.
Database dao improvements

* Support queries using OR connected filteritems on subentities (Both in getTotal and getDataByFilter)
* Give hints when Introspection in getAllFields failed due to possibly not following the Java-Beans specification

TODO both getTotal and getDataByFilter are way to big and have copied code all over. They need to be refactored.
Add the NotIn operator.

Also refactored HibernateFilterItem class and implemented some missing operators.
Set the deletable flag to false when initializing groups.
Remove misleading comment
Added hashCode() and equals() methods to avoid unwanted duplicates in HashSets.
Added some more hashCode() and equals() methods to avoid unwanted duplicates in HashSets.
Logging imporved and smaller refactoring.
Exception message improved