raise exception for iterative operations on RqlQuery
Improve error message for __iter__ on a RqlQuery
Merge pull request #1506

Closes #1506

Closes #1503