subtests: Adds waiting loop for cidfile content in run_cidfile.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fixes event to new format of events msgs in docker.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fixes too early connect to incomplete container.

Signed-off-by: Jiří Župka <jzupka@redhat.com>