YARN-1368. Added core functionality of recovering container state into schedulers after ResourceManager Restart so as to preserve running work in the cluster. Contributed by Jian He. svn merge --ignore-ancestry -c 1601303 ../../trunk/