System for in-place upgrade

All the shell scripts pass http://www.shellcheck.net/
deploy_modelling_server.sh