Add test for --net container:<id>

This adds an integration test for checking that the network namespace
fds are the same when a container joins another container's network
namespace.

This is a replacement for #8229

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
If you want to avoid races here, then we have `waitForContainer` function.