BUG: basestring is not PY3 compat
BUG: long is not PY3 compat
BUG: quoteplus is not PY3 compat
Merge pull request #6 from y-p/PR_py3

Python3 fixes