By having CollectPerformanceInfo traverse the BrowsingContextGroup and tree of BrowsingContexts we can hide the task of getting the DocGroups befind an API in BrowsingContextGroup and ease the removal of TabGroups. Differential Revision: https://phabricator.services.mozilla.com/D64390