partial fix for CRM-14784: add 'limit' parameter
Merge pull request #1 from cividesk/CRM-14784

CRM-14784