Fix calculating host resources

- Stop changing of host resources.
- Add the pending tasks as parameter in the scheduling algorithm, in order to respect the resources reserved for the scheduled pending tasks.

@peterbourgon @jmyounker @stuartnelson3 
You can embed the ContainerConfig; no need to give it the Config name, here.