Multiple fixes and support for one than one training epoch in a training step

Fixed validate_mapper.py to reflect changes in test_reducer.py in support of  better distribution of data to test reduce tasks; added in code to do more than one pass over the training data in a train map task.