CRM-15766 - Fix settings form wrongly adding everything to config

https://issues.civicrm.org/jira/browse/CRM-15766