Stopper for stopping multiple goroutines and waiting for them to complete.
Merge pull request #210 from cockroachdb/spencerkimball/stopper

Introduce a Stopper class to encapsulate common idiom.