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.
Properly add wallpost to top of list.
Rework project wp urls
Typos and duplicate line of code removed
Merge branch 'master' into wallpost-api-permissions
Merge pull request #157 from onepercentclub/wallpost-api-permissions

Wallpost api permissions
Merge pull request #162 from onepercentclub/properly-add-wallpost-to-top-of-list

Properly add wallpost to top of list.
Allow text wallposts as well as media wallposts.
Add test for non-author delete project media wallpost.
Use test client for project api tests.
Remove unused views in project api tests.
Fix comment in project tests.
Fix bug in project text wall posts url field.
Set created to a read-only field.
Two small fixes to serializers
Merge branch 'master' into wallpost-api-restructure2

Conflicts:
	apps/projects/tests.py
	apps/wallposts/serializers.py
Re-enable project detail django template.
Make unit tests pass again.