buffer/cursor: Handle EOF in ExtractCursor without crashing, add tests
Merge pull request #27 from dtcaciuc/master

buffer/cursor: Handle EOF in ExtractCursor without crashing, add tests