#JC-1357. ImageFormatException should not log the stacktrace (plus small refactoring).
Merge branch 'master' of https://github.com/jtalks-org/jcommune