fixes py test driver to work with new cursor
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor