removed remaining license headers
Refactored the markdown report and added tests for it
refactored diagnostics to provide consistent approach to report building and testing.
refactored the html report to use the same report writer as other file reports.