CRM-15759 - Improve crmEditable api validation and error handling