Do offline update notification here

This moves more code from the gsd updates plugin here: We now
also do the notification at login after an offline update.

At the same time, move the code that deals very specifically
with the internals of offline updates to its own file.