CRM-14527 migrate cid=0 to use entity ref
Merge pull request #3012 from eileenmcnaughton/CRM-14527

CRM-14527 migrate cid=0 to use entity ref