Fix bug when overriding config params whose value is not a string.

This is to fix issue #4151
I test the patch overriding Data.publication (boolean), Data.unitsPerJob (integer) and General.requestName (string), and it works fine. 
Thanks Marco for pointing out the existence of literal_eval().