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.
@martint thoughts on this style of writing operators? (implementing two of them in the same class)