Checkstyle upgrade

Upgraded checkstyle to version 5.7 and wrote clearer messages for its most important comments.