Fix Resolver shutdown behaviour

* Add Resolver prefix to logging.
* Fix AsyncObject::removeReference() logic.
* Fix work remaining logic.

I spotted this while playing around with Application Stoppable behaviour. 
Reviewers: @nikb @vinniefalco 
http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern