bug fixed and functions rewrite

1) fix the length accumulator for compareValue, now support
variable-length varchar
2) rewrite compare, now support varchar comparison for EQ_OP and NE_OP
3) add searchNextRecord: use previous rid to search next rid in the file