getAllInterfaces

Gets a List of all interfaces implemented by the given class and its superclasses.

The order is determined by looking through each interface in turn as declared in the source file and following its
hierarchy up. Then each superclass is considered in the same way. Later duplicates are ignored, so the order is
maintained.