libostree/upgrader: Add an API to retrieve an origin description

This will be used by "rpm-ostree upgrade".