slapos/promise: add promise to check scripts exit code
Check returned code of all processes in etc/run directory. Json state file is updated by supervisord when process exit. Expected will be 0 if the exit code was unexpected (!= 0), or 1 if the exit code was expected.