update gitignore
Configuration broken into subfunctions
configure.pl uses get_config_file() to find path
backwards-compatibility for relocated config.txt

If the new file doesn’t exist, check for the old path and move it if
necessary.