First pass at publish framework for ostree repos

Seems odd this both: returns the tuple indicating validation exceptions and raises a coded exception.  I think it would be better if validation errors were reported using one pattern or the other.