support iteration on cursor

as e.g. the django ORM expect this to work
maybe be a bit more specific in the error message? Could mention that execute or executemany must be called first