etc/dists/scripts/*ip.sh: add IP mask support

Commit f018af5f added support for netmasks. This commit
tries to modify all the *-add_ip.sh and *-del_ip.sh
scripts to understand the netmasks.

There are definitely bugs in this code, as well as some
previous bugs in the modified scripts. I guess it needs
lots of testing and fixing, but let's get this rock rolling!

http://bugzilla.openvz.org/1088

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