Add support for property and method inheritance

With this commit we add a new method getInheritedProperties and
getInheritedMethods with the ClassDescriptor, TraitDescriptor and
InterfaceDescriptor.

Using this method it is possible to retrieve all methods that
are inherited by this Descriptor.