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 
i believe this could be ```if @categories.present?```