Fix cursor API

Impossible to use DUPSORT features if value argument is omitted

The current cursor API makes it impossible to use Sorted Duplicates, since they don't accept a Value argument. Without the Value argument you cannot specify which specific value to use when there are multiple values under a key.