[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