Renamed directories for Gradle war plugin
Fixed user entity named queries.
Fixed salt in the user entity.
Fixed probably with locking -- to re-enabled.
Added Gradle build.
Added persistence files.