Use async version of rimraf for tests.

This should help reduce the EPERM errors on Windows.
Avoid initializing git for smoke tests.
Trim response text before comparing.
Merge pull request #2027 from rwjblue/use-rimraf-async

Windows Test Fixes - Part 5791