Add possibility of custom tree labels

This patch enables class administrators to specify a field that should be used as label for objects in the tree.

If such a field is configured the value that the user enters to create new objects will automatically be written to the tree label field.

Please let me know if this change is interesting for you if you have any suggestions for improvements.

Kind regards,
Alex