Merge remote branch 'jvalkeal/SHDP-171'

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.

SHDP-171 Fixes for ClientRmTemplate
Fixing template and re-enabling tests.

SHDP-171 Clean and tweaks for AppmasterCmTemplate

SHDP-171 Remove user and tidy up
Remove user from yarn client because api doesn't use it anymore.
Tidying up classes.

SHDP-171 Fixing some tests for changes in CONTAINER_ID env variable
AM_CONTAINER_ID is now CONTAINER_ID. Changes for this and tests
which failed.

SHDP-171 More changes due to removal of ApplicationAttemptId from api.
Changes to internal apis, handling of connection authentication, etc.

SHDP-171 ApplicationAttemptId not part of FinishApplicationMasterRequest anymore.

SHDP-171 Fixing AbstractBatchAppmaster per changes in ContainerLauncherInterceptor

SHDP-171 Modify ContainerLauncherInterceptor
Adding Container into interceptor because previously it
was part of the ContainerLaunchContext. That's not a case
anymore and we need this info.

SHDP-171 Saving work with first working unit test

SHDP-171 first change set which compiles
SHDP-171 Other changes for 2.0 to 2.2