Make sure that if a container can't start we set the exitcode to non-zero value

See #8379 - if the container doesn't start I added code to make sure that if no other processing sets the container.exitCode to a non-zero value when we make sure its done before we return. I also made sure that while trying to start the CMD/ENTRYPOINT, if it fails, then we set the container.exitCode to the exitStatus from the exec().

This replaces PR #8619 which had some weird git issue going on - but its the same code changes so all comments apply.

Closes #8379

Signed-off-by: Doug Davis <dug@us.ibm.com>