Track auto tasks using a counter results can be inserted/removed dynamically

This is a PR to resolve https://github.com/caolan/async/issues/462... not sure if there are any other steps you want mo to take. I included a test case for the issue as well following the style i saw for other issues.