tests/api: ability to force content_type
serializer: add get_content_type(format), fix intermittent failing test
throttle: start using standard HTTP header

X-Throttled-For (and a similar one used in django-rest-framework) are
non-standard.  Use the Retry-After standard header in hopes of more
support by tools that obey standards.