Field definition discovery.

Add some way to describe the field definitions to the API clients.
Lets move to own method, for easier override in RestfulEntityBase (``getFieldSchemaForOptionsMethod()``?)