YARN-2001. Added a time threshold for RM to wait before starting container allocations after restart/failover. Contributed by Jian He.