Undeploy vApp if deployed but VMs are stopped
Undeploy vApp if deployed but VMs are stopped

If the VM within a vApp is stopped then the vApp will show as `Partially
running` but still return a state of 8 (stopped). `#vapp_delete` will
subsequently return a 400 failed response.

Workaround this by checking is the vApp is still "deployed" when it reports
that it is stopped.

gds-attic/vcloud-box-spinner,gds-attic/vcloud-box-spinner