Add allSettled to promise prototype
Merge pull request #335 from kriskowal/all-resolved

Add allSettled to the promise prototype, note that allResolved is deprecated.