Lea user can delete own posts

Added delete to posts. Converted "allowed_to_modify?" and "is_owner?" methods to be take any object as an argument.

@garthgoldwater @amZotti