{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`
Merge remote-tracking branch 'upstream/dev-3.x' into promise-all
[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.
Merge branch 'dev-master' into dev-3.x
Merge branch 'dev-master' into dev-3.x

Conflicts:
	build/loader-yui3/loader-yui3-coverage.js
	build/loader-yui3/loader-yui3-debug.js
	build/loader-yui3/loader-yui3-min.js
	build/loader-yui3/loader-yui3.js
	build/loader/loader-debug.js
	build/loader/loader-min.js
	build/loader/loader.js
	build/yui-nodejs/yui-nodejs-debug.js
	build/yui-nodejs/yui-nodejs-min.js
	build/yui-nodejs/yui-nodejs.js
	build/yui/yui-debug.js
	build/yui/yui-min.js
	build/yui/yui.js
	src/loader/js/yui3.js
[promise] Add API docs for promise.catch()
[promise] Make JSHint happy
[promise] Add tests for Promise.cast
Merge branch 'dev-master' into dev-3.x
Merge branch 'dev-master' into dev-3.x