get all traits of ancestor classes & ancestor traits

useful when using setters in traits
`$traits += class_uses($trait)` would change the array ordering so that the call to `each()` above would start over at the beginning of the array, causing an infinite loop