LDEV-3293: Clear log warnings : "HHH000038: Composite-id class does not override equals(): org.lamsfoundation.lams.learningdesign.GroupUser" and "HHH000039: Composite-id class does not override hashCode(): org.lamsfoundation.lams.learningdesign.GroupUser"
LDEV-3318: Move jboss-log4j.xml configuration to jboss logging subsystem in standalone.xml. Apparently there is no way to simultanously use both logging conifgs. All not-commented appenders and loggers from old configuration were migrated.
LDEV-3319: remove autopatch dependencies from <resources> declaration of jboss-deploymet. Libraries present in 'lib' directory are automatically added as project dependenies.
LDEV-3320: fix Infinispan configuration as 2nd level cache of Hibernate. The problem was, that for plain Hibernate usage, Infinispan has to be eagerly initialized (an already present when Hibernate starts). Also RegionFactory was changed to JNDIRegionFactory.
LDEV-3318: fix jboss-log4j.xml configuration for Wildfly. Change appenders and errorHandlers from 'org.jboss.logging' to 'org.apache.log4j' types. Use 'jboss.server.base.dir' variable as base for logs files location.