Moved heartbeats to the workers

Now the heartbeats are handled by the plugin workers, to avoid that a slow heartbeat be triggered multiple times from same plugin, now the task gets moved between the HEARTBEAT and the TASKLIST queue. Resulting commands, they gets pushed as usual.