Replace the fancy Linq stuff with a simple loop for a big performance gain.
Tweaked angavrilov's changes to still allow IsResourceAvailable_AllVessel to return as soon as enough resources are found, rather than iterating over the entire vessel.