SHDP-289 Adding better container monitoring

- Refactored part of a container monitoring concept
- Added missing post processing in YarnAppmasterBuilder
  to autowire objects used for monitoring
- Modified appmaster to use better monitoring