Promise: changing Promise.all and Promise.race signatures

Following the spec, these signatures take in a single iterable object to
iterate over, instead of using arguments list.