Fix several bugs in FAKE.Deploy

There were several bug - check the commit history.

This mostly just fixes bugs in the agent and client, being backwards compatible with the old behaviour.

I did also add listening on the root url in the agent, as is written in the documentation. Seems reasonable to me, as there was a check with the root url anyway.