Updated .gitignore

Excluded config/ directory.
Fixed 2 bugs in CLI.Config

Because CLI.Config.appData was monadic, each call to readConfigFile read
it anew. It's now a parameter.

readConfigFile created missing configuration files as directories
instead of files.

The config files are now put into a config/ directory.