Integrate floodFilling when assigning tasks
Remove unused comments
Actually cache the reachable relation calculated

Previously, the closure inside the TaskManager's _reachableBy field did
compute the whole Set (Actor,Task) on every call.