Reorganize tournament view code, got tournament scores dump working for
html mode; Wiki format not tested.  Tournament view and the scores dump
now use the same code.