A rough attempt at writing an implementation of the CommonJS Promises/A+ specification.