add exception handling on failed exec within a container

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #171 from battlemidget/patch-handle-return-code-in-container-run

add exception handling on failed exec within a container