Complete implementation of comparison operators.

- works with NIL
- handles integers, strings, records, and arrays
- added a test case tests/gc0.tig that uses this