Add generic function to get overcommitted resources.
Replace get_worker_cores with generic function
Overcommit memory and gpus.
Add unlabeled to available_workers computation.
Reset unlabeled task flag correctly
Merge pull request #408 from btovar/overcommit_simpler

Consider memory and GPU when evaluating task asynchrony. Also, the asynchony is extended to unlabeled tasks.