Refactored the destroy code from post and comment.

Hello Eliot,
I just refactored the code from from the destroy action in the post and comments policy with a new private method on the Application policy where they inherit.