Avoid deprecated GLib API (GSimpleAsyncResult in particular)
This is marked draft, because I did zero testing (beyond ensuring it compiles without warnings).
I'm not too familiar with the GTask API and I'm likely to have messed up somewhere.
Still, it's probably a good idea to share this early and see how the CI copes.
I think this is ready now.
Edited by Lubomir Rintel