Include class methods in generated comments

When generating the 'contents block' comments which are inserted into
the python source, also include the names of methods exposed on the
class.

Test Plan:
$ ./precommit.sh
inspect diff of generated comments