Fix deploy script.

TODO: if the machine hasn't got sudo then the script will fail ungracefully.
We need to account for that case too.
Automated built of mist.js
Merge branch 'master' into spinners