Register listener before task execution for rest.li async methods that return promises.

RB=174570
R=ksobolev,cpettitt,si-dev,jbrikman
A=gogenc