allResolved() and allFulfilled() returns true for empty iterables

Seems to solve the whenAll([]) issue.
Merge remote-tracking branch 'laurent/patch-1'
add test for empty whenAll