get all traits of ancestor classes & ancestor traits

useful when using setters in traits
the `$i` can be removed since the key/value from `class_uses` are identical