Add TERM=dumb to environment for Sources and Tasks by default.
Remove TERM=dumb from Gradle Task now that is on by default.