Needed changes to QualityReport and MeasureCalculationJob to work with Cypress 2.5

The change in `MeasureCalculationJob.rb` makes the perform method return the calculated quality report. This is so we can get back the quality report without having to refresh it from the DB in Cypress. If this is non-optimal, or breaks other code (though I looked and didn't see anywhere that it would), this change can be rejected and Cypress can be rewritten.

The change to `QualityReport` adds a test_id when searching the database for already-calculated or queued `QualityReports`, which keeps the code from seeing reports calculated for non-related tests with different test IDs. The former code was generating false-positives in Cypress when a test was calculating; it would find the results imported from the bundle.

The whitespace "cleanup" was an automatic Atom thing, apologies for the pull request clutter.