YARN-1566. Changed Distributed Shell to retain containers across application attempts. Contributed by Jian He.