Try harder to find an exit code

Since the Docker API is a bit messy, `Container#getExitCode` has to look for the exit code in multiple possible places