add Spring Hateoas dependency
refactoring test

change TestConfig to RepositoryTestConfig
remove web.xml
delete old code