[style] include/dist.h: use enum instead of define

It's nicer this way.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
add_dist_action(): use macro

...to avoid code repetition.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Add set_console dist script

This script is used to configure getty on /dev/tty1 (aka /dev/console)
and /dev/tty2 inside a container. It is run by vzctl start.

This is needed for vzctl console [1|2].

This should also fix bug #2865.

https://bugzilla.openvz.org/2865

Signed-off-by: Kir Kolyshkin <kir@openvz.org>