Fix broken doctests
Merge pull request #1175 from frewsxcv/patch-2

Fix broken sphinx docs, thanks @frewsxcv
Merge pull request #1140 from SeanHayes/test-enhancements

Test enhancements to make your life easier.
Throttled requests now include Retry-After header.
Added failing tests which try to specify fields and excludes on a resource.
Added ability to specify &fields=xxx and &excludes=xxx in GET params.
Added failing test case with extra data on a related field. Extra data directly on a parent recource is normally ignored.
Extra data on related resources is now ignored.
A more informative error message in Resource.put_list, and catch an error earlier in RelatedField.resource_from_uri.
Made error in resource_from_uri more specific.
Added hook to allow ModelResource subclasses to modify the call to Model.save()
Added return_list_data and return_detail_data, which can be used to completely override the response returned. For instance, this can used for returning the contents of a GET after a PUT, since you can sometimes take better advantage of select_related() and prefetch_related() when serializing from a GET than from newly created data.
Added Resource.resolve() method.

Conflicts:
	tastypie/resources.py
Reduces a query when looking up a user and another when comparing api keys.
Removed data shared on Field objects, changed code to reuse related resources.
Removed ApiField.value, which is unused and undocumented. It seems to be leftover from when field objects could store values and be serialized.
Added failing test for embedded schemas.
API consumers can now GET /api/v1/?full_schema=true to get all schemas in a single request.
Added failing test case when a non-null field is omitted.
ApiFieldError is now raised when a not-null field is missing.