Create _DetachDisk function in cmdlib

The _DetachDisk function is similar to _RemoveDisk, with the exception
that nothing destructive happens on the disks.