Delete published items

Also fixes updating published items from edit page
https://github.com/easypublish/EasyPublish/issues/13