Generalize the fit scheduler.
Extract the "fit predicate" from random fit to make it extensible/plugable
Merge pull request #1421 from brendandburns/resource

Generalize the fit scheduler.