A small (and incomplete) implementation of the deferred object, with the target of learning as much as possible on deferred and promise.