Print the container id before the hijack in `docker run` (see also #804)

This is useful when you want to get the container id before you start to interact with stdin (which is what I'm doing in dotcloud/sandbox).