fix incorrect merge on  CRM-14389 membership api - add test for fix
api -membership -fix comments
Merge pull request #2947 from eileenmcnaughton/merge-fix

Merge fix - membership api - merged incorrectly from 4.4 to master