refs #113, add a callback function to the cursor to check for interrupts.
This allows callers to prevent a cursor that churns through many many committed
deletes to run amok.
Merge branch 'bugs/113'