Fix documentation for state `next` functions.

Currently the documentation claims that these function may return promises which is incorrect. Rather, they may accept an additional `done` argument that is a function to call with the name of the next state once any asynchronous calls made by `next` have completed.