Fix datum-has-key? in cursor.rkt
Define with-cursor and friends