[PDI-11959][5.1.1.0] Hadoop Job Executor: Jobs using org.apache.hadoop.mapreduce API don't work

Backport from 5.1.

Add ability to use mapreduce V2 api.
Changed Connection interface in shims.api to have ability to change ShimUtils in common project and to not lose backward compatibility.
Also fixed regression related to MapReduce job entry.