Coalescing support

Pull in athomason's Coalescing support changes

These changes were submitted as a pull request to the typester anyevent-gearman-perl repo, but have not been merged into the main line.  These changes look like they will fix some issues we see in our testing environments and in production.