CRM-13010. Coding standards cleanup in api/class.api.php