core: Minor refactor
core: Minor refactor

Public methods should be listed first and then internal.

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