CRM-13552 add a smarty error if there is a crm error in {crmAPI}
Merge pull request #1756 from tttp/crm-13552-crmAPI

CRM-13552 add a smarty error if there is a crm error in {crmAPI}