CLC-1220 Move upgrade function from calcentral into its own script, and ...

...use it from deploy.rb

Darlene didn't want the upgrade in init.d/calcentral to confuse people, so I extracted it. 

Also, warming up the app with wget lets us hit more of the assets instead of only getting the bootstrap index html.