Don't delete posts with a revision

If a revision is present, that means we're editing the post. Deleting it
would just cause faults and crashes.

Fixes #2951
Merge pull request #2952 from wordpress-mobile/issue/2951-fix-crash-deleted-post

Don't delete posts with a revision