Add support for capabilities/multiCapabilities

- changed from isPromise to isLikePromise to support other Promise libs
- Made the promise resolutions in to an array