core: port database upgrade to new api
core: port database upgrade to new api

Pelagicore/Media-Manager-Rygel-patched,GNOME/rygel,Pelagicore/Media-Manager-Rygel-patched,GNOME/rygel,Tarnyko/rygel,luisbg/rygel,GNOME/rygel,Tarnyko/rygel,jku/rygel,Pelagicore/Media-Manager-Rygel-patched,jku/rygel