Added a function to change config parameters in the config file.

A keyword and a vector of parameters (strings) can be passed and then
the parameters of this keyword will be substituted in all the file.