tracker3: Make resolve async
tracker_sparql_cursor_next is sync and can block, make it use the async API instead.
I ran into this with changes in Music which blocked the UI.
I just used the bits of the template, in theory it is not needed to try another iteration for a resolve function I guess.
@carlosg can you review?