Revert "gui: remove ChatWidgetRepository::widgets accessor"

This reverts commit c9201a38a0cc1ecc908eff9beaf0387372db133f.
Revert "gui: added ChatWidgetRepository::forEach method"

This reverts commit 5a06749a11efba1266e2656f962791eecb371f2f.