assert that readgroups checksums are consistent with overall checksum

and add appropriate operator== methods to help do this