use basestring instead of str in a few places in clusto

moved from https://github.com/digg/clusto/pull/9 which is apparently deprecated.

further breaks compat with py3.0/py3.1, but I don't think clusto is targeting those anyway.

without this, the HTTP API doesn't work (since it deals in JSON documents, in which all strings are unicode).