Fix issue deleting local drafts on new posts/pages

- The new draft hadn't been fully saved yet so the existingObjectWithID: returned nil. Use obtainPermanentIDsForObjects: + existingObjectWithID:error: instead

- Minor cleanup