MAPREDUCE-3512. Batching JobHistory flushing to DFS so that we don't flush for every event slowing down AM. Contributed by Siddarth Seth. svn merge --ignore-ancestry -c 1230353 ../../trunk/