Make toDict "dereference" the 'name' property if it is present
Make toDict "dereference" the 'name' property if it is present

This makes it possible to turn 'name' into a consistent alias that
can be used to represent an entity.

Patch by: Sverre Rabbelier

--HG--
extra : convert_revision : svn%3A32761e7d-7263-4528-b7be-7235b26367ec/trunk%401830

SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange