Re-structure tests directory
Allow fields parameter for use with partial response
Check for invalid field names in partial response request
Add partial response for detail view
Add partial response for relation view
Remove some redundant code
Refactor list and relation output into common method
Rename output method to outputList
Simplify outputRelationList method
Update index method error
Merge branch 'partial-response' into develop