CRM-12146 - Test for "get" APIs which don't support ID

Note: This is not a fix; it merely reproduces one form of the bug and checks for similar bugs across all entities.

http://issues.civicrm.org/jira/browse/CRM-12146