Sonar major warnings logging

* Refactored bash code for readibility
* Applied check for JAVA_HOME in jarScan.sh
* Upgraded slf4j to 1.7.7 and removed to two Stri…