Adding RocksDBEntryIterator + memory leak fix