Delete objects

added tests for delete-methods (deleteBinary, delete metadta, delete binary metadata, delete entity)
when deleting an entity, all children are also deleted.
check if entity or one of the children is published -> throw Errror
modify views