Added log level parameters to suppress command output

Added parameters to control output of command execution.

Changed to use Gradle logger instead of `System.out` for command output.
In future it can easily customise command output, e.g. prepending host name.