use basestring instead of str in a few places in clusto

When using the HTTP API, arguments get decoded from JSON (which yields unicode() objects); unicode is not an instance of str.

This will break python3k compatibility, but a cursory glance reveals lots and lots of other things that already don't work with py3k.