Update wait-for-multiple-promises.js

There are couple of updates:

1. There is no need to return promise explicitly from 'two' function as 'spread' returns a promise for the return value or thrown exception of either callback.

2. Q.allResolved is deprecated, we can use allSettled or all instead.