Added delete and remove_errored

Added functions to delete an instance and daemon will now automatically
detect instances in an ERROR status and remove them.