test: check that CT is executed in a new session (v3)

with own control terminal.

v2: don't wait pid from libct_container_spawn_execvfds
v3: s/libct_container_set_console/libct_container_set_console_fd

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
ct: fix value of CT_NOSETSID

CT_NOSETSID has to contain one bit

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
util: move bind_mount in util.c

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
mount: create destination for bind-mounts if it isn't exist

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>