lib/db: Refactor getting global lists (#6529)
lib/db: Refactor getting global lists (#6529)

* lib/db: Refactor getting global lists

* VL -> Versions

* keyBuf

* don't touch db migration
syncthing/syncthing,wweich/syncthing,syncthing/syncthing,imsodin/syncthing,syncthing/syncthing,imsodin/syncthing,wweich/syncthing,syncthing/syncthing,wweich/syncthing,imsodin/syncthing,wweich/syncthing,syncthing/syncthing,imsodin/syncthing,syncthing/syncthing,imsodin/syncthing