Add loading state to collapse/expand all threads button in MRs
## Problem
When collapsing and expanding all threads in an <abbr title="merge request">MR</abbr>, the UI freezes and there's no indication of activity

## Proposal
Add a loading state to the collapse/expand all threads button:

issue