YARN-392. Make it possible to specify hard locality constraints in resource requests. (sandyr via tucu)