WIP: Refresh in thread
This PR is organized as follows:
- Trivial cleanups
GsReloadFlagsto all reloading functions, vfuncs, and signals
- (Flatpak plugin) Cache FlatpakRemotes in memory
- (Flatpak plugin) Compare cached remotes and new remotes, and pass
I tried to document the relevant details and decisions in the commit messages, please let me know if they aren't clear enough to address your doubts and I'll make sure to update them.
Fixes #1276 (closed)