Add promise functionality to logically AND together an array of promises.