Compute total disk and memory according to available and inuse.
Add flag to avoid reset of aggregated resources.
Consolidate aggregate resources into send_resources_update
Add function to measure worker resources locally.
Keep aggregated and local resources separate
Add committed field to resources
Account for committed resources at worker
Mark worker as inuse if there are active tasks
Function to count committed in the ready queue.
Count committed resources on the foreman's ready queue
Change *_allocated to *_to_allocate
Count for resources 'in transit'
Allow mix labeled/unlabeled at foremen
Measure only every resources_interval seconds
Check for gpus only once.
Consolidate all accounting functions into one.
Changes unlabeled_allocated to unlabeled_committed
Add tag to resources
Sync master/worker resources