Upgrade & added dependencies.
* spring-data-commons 1.8.4.RELEASE -> 1.9.0.RELEASE
* lombok 1.14.4 -> 1.14.8
* spring-hateoas 0.16.0.RELEASE added

Refactoring some logic.