Add a resource fit predicate.

Not linked into any scheduler yet.
Yeah, I think doing this in a Quantity type will be easiest to use.