Make edmonds_karp_core obey the cutoff parameter.

The test for cutoff was not picking it. I've added another.