SONARPLUGINS-2296 BAT script does not always return the exit code
SONARPLUGINS-2313 Improve Linux script
* SONAR_RUNNER_HOME: autodetection over symbolic links
* validation when automaticly resolved
* return non zero exit code when SONAR_RUNNER_HOME is wrong