Added resource tests for editing a post.
Changed the edit post post argument to be an post entity adapter.
This is so the REST interface can say "Here, I want to edit this
so it looks like this", and the model can say, "Fine, but there are
these things you can't change, and I'll set them now."