Adds tests for PostsController#replies.

There were no tests for PostController's replies method. I've also noticed that reply_history method does not allow moderators to see trashed posts like other methods so I've fixed this and updated its tests accordingly (see also this PR for reference: https://github.com/discourse/discourse/pull/1978)