[JBASMP-37] Add checkstyle plugin and fix errors found.