Add spring.messages.cacheSeconds to global config

Fixes gh-625