Add fields parameter to the API.

This adds a fields parameter to the API. It allows you to select which items the API is supposed to return to you, out of the model. It supports nested resources.