API: Add ClassInfo::table_for_object_field

Returns 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.
Merge pull request #3398 from dnadesign/fixsortableheader

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