CRM-14355 fix test-exposed bugs in contribute, participant, pledge get

----------------------------------------
* CRM-14355: make api treat limit = 0 as an unlimited request
  http://issues.civicrm.org/jira/browse/CRM-14355