Add a resource fit predicate.

Not linked into any scheduler yet.
I'm afraid this will end up being map[name]interface{}, but I guess we can adapt that later.  @lavalamp has a half-baked PR to provide a different type than IntOrString here, which we should revisit before IntOrString becomes too deeply baked.