summary.py: rename generate* methods

Fix style issues with camel case method names.

v2: - lowercase HTML to html

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary.py: Use with open(...) as syntax

This is the commonly excepted "right way" in python.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>