- move startup message from controllers to the Application classes (SpringBoot configuration beans)
- added static imports for most static variables and static methods
- simplified a few nested *if*s
- replaced Arrays.asList() with explicit immutable collections
- fixed a few IntelliJ code inspection warnings
- upgraded to Spring boot 2.0.5
- added dependency to spring-boot-starter-web (before it was brought in by thymeleaf 1.5.15)
- removed try-catch since UnsupportedEncodingException is not thrown anymore by HierarchicalUriComponents.encodeUriComponent(..)
- updated WebApplicationConfig to implement WebMvcConfigurer (WebMvcConfigurerAdapter is deprecated)
- updated import of LocalServerPort
- updated tests to use new method from InvocationOnMock