Modified send_resources to send and log cores last
Merge branch 'nhazekam-wq_race_cond'

Cores are now reported last. As long as cores remains 0, the master will not
give a task to it. This allows for the rest of the resources to report
successfully