CRM-12031 - Minor tweaks to setting api to make it work with smarty edit-in-place