add support of volumes attach/detach

It works only for VMs at the moment and volume detach
works only for stopped VMs.