Promise: Promise.all with empty array

Implementation now conforms to behavior of empty Promise.all array.
Promise: Promise.race() also now accepting empty arrays

Because the same problem might be a problem as Promise.all()
Merge pull request #85 from Aintaer/promise-empty

Promise.all() fails on empty array