Spread loaded modules on `require` compatibility

A `Promise.all`-created promise resolves to a single array that contains all results. To maintain requirejs API compatibility, we need to unpack the results into multiple arguments.