YARN-2744. Fixed CapacityScheduler to validate node-labels correctly against queues. Contributed by Wangda Tan.

(cherry picked from commit a3839a9fbfb8eec396b9bf85472d25e0ffc3aab2)