deferred.event.js: add Deferred.post and Promise.each