fix the Cursor::rewind method
Cursor::current should return null if no more data is available
Merge pull request #29 from arthurdarcet/cursor-rewind

fix the Cursor::rewind method