Add RecordRef#==

Compares on internal_id, external_id, and attrs