Implicitly join civicrm_contributions to civicrm_contacts

Also fixes bug in removed relationship, where the join was specified on the wrong fields.