Issue #12 Setup sonar and correct some sonar. Some sonar stuff doesn't
work well with JDK 1.8