MAPREDUCE-2529. Add support for regex-based shuffle metric counting exceptions. Contributed by Thomas Graves