Change -s for test.sh to be -d (read config from deployswitch).

We implement our own EOF marker (a single . on a line), so that DS can indicate
when it's done sending config.

Also renamed the config var for the hash to deploy to DS_DEPLOY_HASH