#157: Classes do not inherit trait methods and props

Methods and properties from traits are currently not shown in the method
and property listing for a class. In this commit we treat traits equal to
parent classes and inherit their methods.