Basic python3 compatibility, via the 'six' module.
Merge pull request #3 from mozilla/rfk/py3

Basic python3 compatibility, via the 'six' module.