Change _.Dfd.when to wrap thenables.
promise when takes thenables now