Multi node support for install_devstack.py

Feel free to comment.
move it to common part