Fixes configui, makes edit keys possible
Adds trim function on key and value
Improves if statement
Merge pull request #361 from doleiynyk/2013-12-04_Duplication_of_properties_in_config_field_bug_nr252

Makes it possible to edit the config keys in all ConfigUIs in the admin interface