Make code Python 3 compatible
Add tests for command line interface
Add test for empty files
Add tox and coverage configuration files
Add code style checking to tox (with flake8)
Future-proof assertion methods (Python 3)