Implemented cursors and changefeeds

Needed these for an elasticsearch plugin.

I'm not a Java developer by any stretch, so this has mostly been imitating your style best I can. Let me know what you'd like changed