added sonarqube goals to pom.xml
curly braces convention fixes
update sonar critical issues
fix equals/hashcode methods on Comment