Rename thenApply function to then
Update documentation thenApply -> then
Merge pull request #39 from kahnjw/use_then

Rename thenApply function to then