Ignore coverage HTML report output dir in tests.

Added it to the list of dirs ignored by tests/runtests.py.
Made coverage ignore files without associated source code.

This only affests reporting not data collection and allows coverage.py
to succesfully finish the generation of e.g. the HTML report.

Cases of code whose execution data is collected during the run phase but
for which no associated source code files can be found at the reporting
phase include tests with egg files and Python module files created at
test execution-time.
Added further fixes, tests for #19949/f33db5a09a.

Thanks Susan Tan. Refs #19949.