Revert "Revert "Add: first version of a basic stats manager that run a thread in the daemons and reap all the inner perfdata. Then we should present/export the data outside and add more daemons.""

This reverts commit 1ab0873c05927022a06e90e093e1d5a5db82240d.