System for in-place upgrade

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