many improvements to runtestsuite.py.

* added a command line option to skip the actual rendering and only generate the HTML report.
* added links to log files in HTML reports.
* delete the output image and the log file prior to rendering a scene.
* check that the output and reference images have identical dimensions.
* optimized image comparison.