Refactoring
Fixed error in previous refactoring
Partial THUCYDIDES-149 - Tests with no steps in xml will respect the result entry in the xml. Previously, always assumed this was a Pending test, but may have no steps in output because of an error or failure.
This only corrects the header on the index page. The graph and table rows still show result as pending