SHDP-305 Register embedded container as track service

- If embedded container is started, we try to get its
  address and register it as a track url when appmaster
  register itself into resource manager
- Need to compile against spring-web but keeping
  it scope as provided
- Configuration is guarded with @ConditionalOnWebApplication
  which should be enough to skip all config logic
  if embedded container is not in place
- Needed to fix few tests not to use embedded container
  now that spring-web went to test classpath.