Python 3 doesn't have basestring nor long; use str and int instead
Merge pull request #1 from nbensa/little_fixes_for_python3

Python 3 doesn't have basestring nor long; use str and int instead