Removed Instance.unreachable flag in favor of AgentState.MACHINE_UNREACHABLE state.
Removed TerminateUnreachableMachine infavor of TerminateMachine
Refactored terminate unreachable machine
Wait until all instances AGENT_STARTED before terminating machine, wait until all instances MACHINE_UNREACHABLE before terminating machine
Refactored terminate machine
When instance is gracefully shutdown its state should be service_cleaned and no agent started
Replaced Polymorphic machine lifecycle tasks with one task that has lifecycle as string.
Fix javadoc
Refactoring torwards agent state machine
Intorduced expected agent lifecycle concept
Changed orchestrator to work closer to a state machine.
refactoring of state machine
Fixed service state machine for machine unreachable
Refactoring of state machine code
Refactoring of state machine code
Copied state machine from service state to instance state
Changed lifecycle state machine API to used desired states
Fixed service lifecycle regression
Moved desired lifecycle of instance from orchestrator to planner
Implemented simple state machine object