MAPREDUCE-3221. Reneabled the previously ignored test in TestSubmitJob and fixed bugs in it. Contributed by Devaraj K. svn merge -c r1197080 --ignore-ancestry ../../trunk/