added the country api

See issue https://issues.civicrm.org/jira/browse/CRM-12789