RUBY-592 Initial Cursor implementation and specs