Make Row type comparable

This PR addresses #1957 to make ``row`` type comparable and implements the ``EQUAL`` and ``NOT_EQUAL`` operators for the ``row`` type.
I don't see much value in sharing the class since there's not much code in common other that some basic boilerplate, and it muddles the implementation somewhat. I'd split it into two classes.