CRM-12639-improvements : code improvements which also fixes the failing tests https://test.civicrm.org/job/CiviCRM-master-git/LABEL=debian6,SUITE=api_v3_AllTests/397/
Merge pull request #1312 from pratik-joshi/CRM-12639-improvements

CRM-12639-improvements : code improvements which also fixes the failing tests https://test.civicrm.org/job/CiviCRM-master-git/LABEL=debian6,SUITE=api_v3_AllTests/397/
CRM-13127

----------------------------------------
* CRM-13127: test should include isset in API contact.php
  http://issues.civicrm.org/jira/browse/CRM-13127
Merge pull request #1316 from dlobo/CRM-13127

CRM-13127