make the __iter__ methods in the python bindings return self

The old code returned a new iterator object, which broke
the skip_solvable method. I hope the new way does not break
anything.