bug 1040414 - promised() should not flatten arrays
Merge pull request #1651 from zombie/1040414-promised-array

bug 1040414 - promised() should not flatten arrays, r=@gozala