- Make AppMaster stop when all containers stopped.
- Refactor tests that needs mini yarn cluster
- Pull for application status from yarn when app stop.