Update vagrant.sh

moving npm installation ahead of phantom and casper to get things moving faster during the install.