Add tox.ini for python2.5 thru python2.7
Convert list comprehensions to for-loops since the results aren't.
Some PEP-8 compliance.
Add support for Python 3.