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
A list of bugs is available in the Google App Engine SDK project on Google Code.
The issue tracker is at http://code.google.com/p/googleappengine/issues/.