JUnitXmlReporter = function(savePath, consolidate, useDotNotation) {
        this.savePath = savePath || '';
        this.consolidate = consolidate === jasmine.undefined ? true : consolidate;
        this.useDotNotation = useDotNotation === jasmine.undefined ? true : useDotNotation;
    }
Generates JUnit XML for the given spec run.
Allows the test results to be used in java based CI
systems like CruiseControl and Hudson.

@param {string} savePath where to save the files
@param {boolean} consolidate whether to save nested describes within the
                 same file as their parent; default: true
@param {boolean} useDotNotation whether to separate suite names with
                 dots rather than spaces (ie "Class.init" not
                 "Class init"); default: true