Improve "dockerctl check"

- Make number of check retries configurable.
- Exit with "1" exit code if one or more containers failed to pass
  tests.

Change-Id: Ic06eb53efb8fd4b728f87ef3205638eb05742490
Related-bug: #1390129
Merge "Improve "dockerctl check""