removed average quality
retrofitted CheckStatistics into an interface and use the Scala implementation from Java
split successOrFailure() as preparation for optimizations
nested interface CheckStatistics into StatisticsGatherer