Extract `topic` into Ci::Catalog::Resource model

Refactor the resolver topic into the model

Edited by Laura Montemayor