Add main module qualifier to coverage generation

Python 2.6 does not automatically run the __main__ module of a package
so it has to be provided explicitly.
Add coverage related files to .gitignore