Some changes to Mercurial's sample_report.py, and a few improvements to basic_table.py