PUBDEV-9: Fix bug found by Tomas, thanks.

addToPendingCount(1) was called on the DTask, not on this,
even though this was set as the completer for DTask.  This led to premature completion, but small data tests didn't catch it.
Merge branch 'master' of https://github.com/0xdata/h2o-dev