function to clear out the removed config / domains data
once a unset/remove is successful on the remote host, then we need to clear out the removal data from the locally stored config so we dont keep trying to remove it
add a mode option to the setter
this will allow us to say if we only want to run unset or set commands to speed up config changes.
as in when deleting an application we only need to remove the domains, not set and existing values
also call the new removal_completed function on success
add param to decide if output is shown & return the data set
so we can use this function in other classes, lets return the data array
add ssh as accessor
new helper functions for reading all procs and conversion between formats
add the mode option to both config & domain methods
small adjustment to the scale command.. when scaling to 0, only the "done" message is visable (as the proc is no longer running), so just look for that
a destroy class; this will remove the app from the remove in a safe fashion
remove domains first (so current threads will finish)
scale down the procs to 0
then delete the deis app
include and calls for the destroy