TryGhost/Ghost — pull request #2634 by alarobric (2014-04-22 07:52:21+00:00)
Title: Post API response to use author not author_id

Closes #2608
- added toJSON method override for post model
- in the event no expanded author relation is present the id will be used
- removed author_id from expected response JSON for posts.
- updated integration tests to check for existence or not of author and author_id