Update stack.sh

We have to keep "localhost" for ip 127.0.0.1 in /etc/hosts. Otherwise devstack will not perform provision for manager correctly