Fix "go tool cover" detection to only add -cover and -coverprofile if we both have cover support in Go, and if we have the cover tool downloaded
Merge pull request #3237 from tianon/hack-fix-cover-detection

Fix "go tool cover" detection to only add -cover and -coverprofile if we...