Add support to optionally ignore test failures (for Sonar)

* Add support to ignore test failures by providing a command line property `ignoreTestFailures`
* e.g. execute: `./gradlew clean build -P ignoreFailures=true`
* if not set, the property will default to `false`