view: Load database content on the main gtk thread

This ensures both thread safety and that the UI remains responsive while
loading.

Note this does not switch the album selection code over to g_idle_add
yet, this will appear in a follow up commit.