YARN-1506. Changed RMNode/SchedulerNode to update resource with event notification. Contributed by Junping Du