SHDP-186 Changes for batch 2.2.2 and core 3.2.4

Fixed remote dao implementation due to api changes.
AbstractBatchAppmaster is still not finished due to
some weird bugs with StepExecutions in HashSet, file
contains some debugging and testing code.
SHDP-186 SHDP-188 Fixing some batch problems
Merge remote branch 'jvalkeal/SHDP-186'