Move cleanWorkingTree function to utils.
Merge pull request #981 from dart-lang/util_func

Move cleanWorkingTree function to utils.