Added a post-delete action for themes

This would be really useful for themes that focus on posts
Added post-delete handling on themes that should use it.