[Time tracking reports] Allow users to group timelogs together

A very useful feature to add to timelog reports would be the ability to group the spent time together by a rule specified by the user.

As an example, a user could be willing to create a report to see how he spent the last week and group it by:

  • projects
  • groups
  • issues (the time could come from the MRs related to an issue)
  • epics