CLOUDSTACK-3976: delete parent snapshot if child snapshots are deleted
CLOUDSTACK-3976: if the snapshot is empty and it's the last one in the chain, we need to take full snapshot for the snapshots in sequence