Make parameter list generation consistent using urlencode().

Ensure that each client is generating the parameter list
correctly by using the urllib.urlencode method.

Fixes: bug 1086574
Change-Id: I9008a57fe94ccec1f3bea95f314860ff8017cb42
16 files changed