-- fixed for CRM-10146, Restricted the creation of same membership and activity again.
Merge pull request #995 from dpradeep/CRM-10146-commit

-- fixed for CRM-10146, Restricted the creation of same membership and a...

Recreated bug, applied patch and tested ok. Also reviewed and ran the new web test.
CRM-12619  fix relationship search start end dates to be separate & don't require type