Use wget to grab http webapp resources remotely when deploying

Simple change to allow remote entities to get http or https resources using wget rather than getting them locally and copying them using scp.

Copy of #399 rebased to master.