SHDP-171 Clean and tweaks for AppmasterCmTemplate
SHDP-171 Fixes for ClientRmTemplate

Fixing template and re-enabling tests.
SHDP-171 Prepare monitor,allocator and launcher.

Tweaks and tidy up for concepts around monitoring, allocation
and launching. This makes code base clean still leaving
monitoring into a state which needs to be radically modify
order to know real monitoring state. This is due
to removal of container states from containers in yarn api.