api_v3_ACLPermissionTest - Fix PHP fatalwith undefined object
CRM_Contact_BAO_Query - Fix batch of regressions in api_v3_ContactTest
CRM_Core_DAO - Throw clearer error message about pseudoconstants
api_v3_ConstantTest - Clearer errors
Merge pull request #938 from totten/master-restore-api_v3

api_v3_AllTests - Misc