965688 - properly looking through class deps to find indexed classes

Classes like ContentVewDefinition were not being cleared/indexed
properly since it was a child class of another class. This centralizes
the gathering of these classes.