do not embed pymongo cursor in list
next vs __next__, py2 vs 3
Merge branch 'master' into py2