CPP unit test fixes

While testing @rleigh-dundee's work on breaking the `omero_client` library into multiple smaller libraries, I spent some time trying to get the unit tests passing (mostly around the comparison operators).

**Note:** the work here only corrected the comparison of non-collection `RTypes` in the general case. There are still issues, especially with `RMap`