Tidy up a few things

* Fixed a few PEP 8 issues
* Fixed a bug in `Summary.__repr__`
* Made summarize.py print a usage message if called with no arguments (instead of raising an Exception)
* Added a basic .gitignore file