YARN-1512: Backporting YARN-1512.2.patch: Enhance CS to decouple schedul...

...ing from node heartbeats

NOT TESTED. I HAVE ONLY BACKPORTED THE PATCH. ABIN PROMISED TO REVIEW *THOROUGHLY*