Update .gitignore.
Tidy up a few little things.
Fix tox.ini.
Fix PEP8 issues.
Assume no setup.py, in which case we assume no dependencies.