Unify rpm-ostree into one binary

And start making an internal library.