Make a ResponseType registry.

And while I was in there, I made it a decorator, so it's nicer to use.
Merge pull request #2197 from edx/ned/add-responsetypes-registry

Make a ResponseType registry.