MAPREDUCE-18. Puts some checks to detect cases where jetty serves up incorrect output during shuffle. Contributed by Ravi Gummadi.