More typedefs for result_type for older result_of<> implementations
Forgot to commit preprocessed filed
Fixed #777: hpx::lcos::details::when_xxx don't restore completion handlers