when* -> collect*
when* -> collect*

Summary:
We recently introduced a version of whenAll that terminates early on the first exception. Unfortunately, then when* naming scheme doesn't work well for that case. So we borrowed the naming scheme from Twitter's Scala futures (https://twitter.github.io/finagle/guide/Futures.html#concurrent-composition) and called that new API collect(). In turn, this codemod renames whenAll() -> collectAll(), whenAny() -> collectAny(), and whenN() -> collectN(). I'm not thrilled about pulling the rug out from
under the existing knowledge of our users, but D1992144 shows that collect() is a useful abstraction, so we're going for it. Dex will be updated when this lands. Also see https://our.intern.facebook.com/intern/dex/futures/compositional-building-blocks/#collect

Test Plan: wait for contbuild

Reviewed By: hans@fb.com

Subscribers: laser-diffs@, trunkagent, mhl, rhe, fbcode-common-diffs@, chaoyc, search-fbcode-diffs@, hero-diffs@, zeus-diffs@, vikas, cold-storage-diffs@, rtgw-diffs@, unicorn-diffs@, targeting-diff-backend@, netego-diffs@, apollo-diffs@, everstore-dev@, zhuohuang, zhguo, jying, darshan, apodsiadlo, alikhtarov, folly-diffs@, wch, lins, tingy, jsedgwick, thom, yfeldblum, petchean, iaroslav, qhuang, gus, san, tomasz, pknowles, lyang, chalfant, paggarw, stevenkim

FB internal diff: D2003300

Tasks: 6025255

Signature: t1:2003300:1429659170:e18999cba45e8aa9019aa94f1f29732076a274ad

raphaelamorim/fboss,peterlei/fboss,peterlei/fboss,peterlei/fboss,biddyweb/fboss,neuhausler/fboss,neuhausler/fboss,biddyweb/fboss,sonoble/fboss,neuhausler/fboss,peterlei/fboss,neuhausler/fboss,sonoble/fboss,raphaelamorim/fboss,raphaelamorim/fboss,biddyweb/fboss,sonoble/fboss