catalog: refactor the catalog package
catalog: refactor the catalog package

Catalog.Run() returns a catalog.Status instance, so that the
result of processing resources can be further examined.

ranjithamca/gru