Add build.stats relationship
Add failure breakdown to build report