Switch basestring to bool for easier Python 3.3 testing
Add Python 2.7/3.3 and remove pyflakes from travis-ci tests