Bug 916677 - Split up the output files and append GC function stack to hazards. Also check against an expected hazard count, r=terrence

DONTBUILD because NPOTB