{promise} Add static methods and their tests
[promise] Move and comment factory methods
[promise] Add resolve() method to Promise.Resolver
[promise] Change mentions of `fulfill` to `resolve`
[promise] Rewrite `batch` and `when`...

...in terms of `all` and `cast`
[promise] Add tests for `catch`, `all` and `race`
[promise] Update promises docs

- Replace mentions to Y.batch with Promise.all
` Include section about Promise.race
[promise] Add API docs for Promise.cast
[promise] Docs cleanup

Fixing typos and removing extra mentions to Y.batch
[promise] Return early in case of an error...

...in Promise.all and Promise.race
[promise] Fix typo in Promise.all docs
Revert "Merge branch 'date-parser-revert' into release-3.14.0"

This reverts commit b5578e8b8d11e55fb61d3123cde0ba4a9a93eaf6, reversing
changes made to 3ed341c60e3a16f2fba8e1dc40a22f34cde2745d.
[promise] Add API docs for promise.catch()
[promise] Make JSHint happy
[promise] Add tests for Promise.cast
[promise] Check that all and raced promises resolve correctly
[promise] Add HISTORY entry
[promise] Improve the API docs for `resolve`
Bump metadata JSON to 3.15.0-pre
[promise] Fix typo in tests