Implement Python2 and 3 `next` methods on cursors.
Merge pull request #3042 from grandquista/grandquista/Python_next

Implement Python2 and 3 `next` methods on cursors.
Merge branch 'next' into sam_cpplint_recursive