* SMTask.h: make deleting, running and ref_count private; (Deleted) new method.
* IdNameCache.cc, Job.cc, ProcWait.cc, Resolver.cc, Torrent.cc: use public methods of SMTask, don't use `deleting' member directly.