Add support for docker exec to return cmd exitStatus

Note - only support the non-detached mode of exec right now.
Another PR will add -d support.

Closes #8703

Signed-off-by: Doug Davis <dug@us.ibm.com>
Merge pull request #9208 from duglin/Issue8703

Add support for docker exec to return cmd exitStatus