Gracefully deal formatting exceptions

@Matthimatiker I'm a bit puzzled over your request for the configuration switch. In this implementation, you may (but not need to) define a service webfactory_icu_translation.logger which is then used for the logging.