fix(client): use path.Join and parsing

Machines with a trailing slash are valid. Cleanup the code so that this
is handled properly.

Closes: https://github.com/coreos/go-etcd/issues/82
Merge pull request #84 from philips/cleanup-trailing-slash

fix(client): use path.Join and parsing