[HTML5 Report] show statistics as chart

- Added pie chart to each page to show the tests statistics
- Added first selenium-based tests to test the HTML5 report
- Fixed an issue which caused the statistics to be wrong