Field definition discovery.

Add some way to describe the field definitions to the API clients.
See: https://github.com/Gizra/restful/issues/197