Allow join conditons (relationship_type, is_active) when joining from th...

...e civicrm_contact to civicrm_relationship table.