Added delete functionality

The user can not delete a post by passing a id variable to the
/posts/delete method.  Checking is built in to validate that the user
has correct permissions to delete a posts.
Added EDIT post functionality.