find_vm: looks for a VM based on domain ID, UUID or name (in that order)