DUNE/Entities: In the class StatefulEntity, pending
activation/deactivation requests should be handled by the owner task
and not by the class itself, otherwise some important logic is
bypassed.
DUNE/Tasks: In class Task handle pending activation/deactivation requests properly.