Fixed #818: Add future::then() overload taking an executor
Touching up on new example
Simplify code
Merge https://github.com/gbibek/hpx