Adds __name__ attribute to type

Allows following code:
TYPE.__class__.__name__
print p.__class__.__bases__[0].__name__