Added a method to retrieve the Virtual Machine a Volume is attached to

The new method checks if the volume is in Attached state and, if so, retrieves the corresponding Virtual Machine. Otherwise, it just returns null.