Fix Promise.all extern to accept an array of Promises

Fixes #687
Use the dot-less template syntax for Promise.all JSDoc
Merge pull request #688 from crdev/PromiseAll

Fix Promise.all extern to accept an array of Promises