builder/cloudstack: More ISO features added

* Only detach ISOs from virtual machine if it's actually attached
* Add configuration option to specify time to wait until we detach ISO