Make the configuration file human-readable

Instead of using fread/fwrite to read/write the whole config struct to
the config file we now use a simple ASCII text file. The syntax is key =
"value" ("" are mandatory), lines starting with # are ignored.