Test reproducing orphaning of children
when draft is deleted and then parent published.
ensure moving doesn't cause deletion
Publish removes deleted children
Merge pull request #1348 from edx/dhm/bug_publish

Delete on publish to prevent orphans