lib/core: Complete conversion to new code style
lib/core: Complete conversion to new code style

No surprises here, all quite straightforward.

Closes: #789
Approved by: jlebon

GNOME/ostree,GNOME/ostree,GNOME/ostree,GNOME/ostree,GNOME/ostree