Refactor startup script to safely handle plugin downloads and updating plugins.
Refactor startup script to safely handle plugin downloads and updating plugins.

stormerider/rancher-wpmu-nginx-trusty,stormerider/rancher-wordpress-nginx-trusty,stormerider/rancher-wpmu-nginx-trusty