Replace Promise.js with Domenic's implementation, <https://github.com/domenic/promises-unwrapping/blob/master/testable-implementation.js>, suitably hacked for SM shell use.