Refactor Report
Fix 1.8.7 incompatible syntax
Change Report#to_test to Report#to_hash
Fix to_test.rb to work with new report setup
Merge pull request #352 from presidentbeef/refactor_report_generation

Refactor report generation code into separate classes for different formats