disk failure handling: delay the power off of old vm till new vm be fully created

also changed the power off step, try guest shutdown first, then power off after time out
of 3 minutes
fix bug: cannot cast type Object[] to String[]

with this bug, explicitly specifying datastore name for a node group will throw exception