ENH: Added displayedTypeName to attribute::Definition
Returns the label of the definition (if set) else it returns the type name. This simplifies a lot of GUI related code
Also deleted a similar static method in qtAttributeView
Also changed qtAttributeView to sort the list of definitions.
Note all this functionality was already in the release branch