Enable cpuset clean up after task and step finish. Fix few bugs in the
task affinity plugin.