Rocketpack changes to upstream

Hi 

we've been using `when` for a while now and made some light additions to it. Would you be interested in merging some of this to cujojs/when or should we spin of a separate package that would provide these using `when`?

The tests pass, but I seem to be unable to run lint successfully even in your master.