Sort set in type exception

The values are stored in a set, therefore they are not sorted when used
in the exception message. Later, the unit test might fail because it
checks for the exact message expected, and that may depends on the order
Python decided to return the set. Let's sort it each time to be sure the
message we can expect.

Change-Id: I9e9c1270ea408f9e217320e30902cb74e690fce8
Fix attributes sorting based on source code

In Python 3.3, when looking for the source code of line with inspect,
sometimes it returnes the class AType that is defined line 155 of
test_types.py, which breaks the test.
Renaming this AType class to ABCDType, which is a unique name, fix the
problem.

Change-Id: I54e4a3b5a2df1158dfed0832fe7ab3a9e577ab72
Merge "Sort set in type exception"
Merge "Fix attributes sorting based on source code"