API: Add ClassInfo::table_for_object_field to return the table name for ...

...a field in a class hierarchy.

This issue raised itself with GridFieldSortableHeader not supporting sorting on fields from parent class fields.