Generate the correct queryset when serializing to_model id (e.g. project_id).
Fix bug in previous commit - oops.
Remove references to HTTP status code 422.

422 is for interacting with WebDav over HTTP.
Merge branch 'master' into wallpost-api-permissions