Changed login  class for UserRepository interface
Added token and its expiration time
CREATED TEST REPOSITORY BY LEO ENTERPRISE
Created dependency
New DB, also user can register, login. Token and date expiration are generated correctly.
Little changes in UserRepository
Changed queries to DB. Renamed some files. No tests.
Changed hibernate.cfg.xml
Tests for UserResource
Testing
Got rid of deprecated method in HibernateUtil
Merge testing and new configuration
Merge remote-tracking branch 'origin/database_branch' into database_branch
Added exception mapper
Testing
removed rest hello
Merge branch 'VIktorMockLeo' into database_branch

Conflicts:
	src/main/java/domain/repository/UserRepository.java
	src/main/java/rest/Login.java
	src/main/webapp/WEB-INF/web.xml
	src/test/java/RESTHello/LoginTest.java
Merge remote-tracking branch 'origin/database_branch' into database_branch
add Userresources
Merge remote-tracking branch 'origin/database_branch' into database_branch
Merge remote-tracking branch 'origin/database_branch' into database_branch